Removed unused CopyDir() and InlineRebuildStringToJsString()

Bugfix StrMailDomainToLower()
This commit is contained in:
djmaze 2021-11-23 15:09:21 +01:00
parent b0463f3bff
commit 1da2bb045f
2 changed files with 7 additions and 51 deletions

View file

@ -55,12 +55,12 @@ abstract class HtmlUtils
$sText = static::ClearBodyAndHtmlTag($sText, $sHtmlAttrs, $sBodyAttrs);
$oDom = self::createDOMDocument();
@$oDom->loadHTML('<'.'?xml version="1.0" encoding="utf-8"?'.'>'.
$oDom->loadHTML('<?xml version="1.0" encoding="utf-8"?>'.
'<html '.$sHtmlAttrs.'><head>'.
'<meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head>'.
'<body '.$sBodyAttrs.'>'.\MailSo\Base\Utils::Utf8Clear($sText).'</body></html>');
@$oDom->normalizeDocument();
$oDom->normalizeDocument();
if (\MailSo\Base\Utils::FunctionExistsAndEnabled('libxml_clear_errors'))
{