Fix code style by updated ruleset
[MAILPOET-3912]
This commit is contained in:
@@ -91,9 +91,10 @@ class Text {
|
||||
false;
|
||||
// if previous or next paragraphs are empty OR previous paragraph
|
||||
// is a heading, insert a break line
|
||||
if (!$nextElement ||
|
||||
!$previousElement ||
|
||||
(preg_match('/h\d+/', $previousElementTag))
|
||||
if (
|
||||
!$nextElement ||
|
||||
!$previousElement ||
|
||||
(preg_match('/h\d+/', $previousElementTag))
|
||||
) {
|
||||
$paragraph = $this->insertLineBreak($paragraph);
|
||||
}
|
||||
|
Reference in New Issue
Block a user