Fix coding style in Text block renderer
[MAILPOET-2821]
This commit is contained in:
committed by
Veljko V
parent
58ca138da9
commit
6f4ad78536
@@ -80,12 +80,12 @@ class Text {
|
||||
foreach ($paragraphs as $paragraph) {
|
||||
// process empty paragraphs
|
||||
if (!trim($paragraph->html())) {
|
||||
$nextElement = ($paragraph->getNextSibling()) ?
|
||||
trim($paragraph->getNextSibling()->text()) :
|
||||
false;
|
||||
$previousElement = ($paragraph->getPreviousSibling()) ?
|
||||
trim($paragraph->getPreviousSibling()->text()) :
|
||||
false;
|
||||
$nextElement = ($paragraph->getNextSibling()) ?
|
||||
trim($paragraph->getNextSibling()->text()) :
|
||||
false;
|
||||
$previousElement = ($paragraph->getPreviousSibling()) ?
|
||||
trim($paragraph->getPreviousSibling()->text()) :
|
||||
false;
|
||||
$previousElementTag = ($previousElement) ?
|
||||
$paragraph->getPreviousSibling()->tag :
|
||||
false;
|
||||
|
Reference in New Issue
Block a user