Skip to content

Commit

Permalink
Fix #58 - Fix html split up
Browse files Browse the repository at this point in the history
  • Loading branch information
lochmueller committed Jul 13, 2020
1 parent ce223a8 commit e3e355f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Classes/Service/CleanHtmlService.php
Expand Up @@ -192,6 +192,10 @@ protected function formatHtml($html)
-1,
PREG_SPLIT_DELIM_CAPTURE | PREG_SPLIT_NO_EMPTY
);

if ($htmlArrayTemp === false) {
return $html;
}
// remove empty lines
$htmlArray = [''];
$z = 1;
Expand Down

0 comments on commit e3e355f

Please sign in to comment.