This commit is contained in:
the-djmaze 2022-03-13 19:51:14 +01:00
parent 42813b90dd
commit 58f5e90f8f
3 changed files with 6 additions and 11 deletions

View file

@ -222,7 +222,7 @@ abstract class HtmlUtils
}
return '<!DOCTYPE html><html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head>'
. \MailSo\Base\Utils::StripSpaces($oDoc->saveHTML($oBody)) . '</html>';
. $oDoc->saveHTML($oBody) . '</html>';
}
public static function ConvertPlainToHtml(string $sText, bool $bLinksWithTargetBlank = true) : string