mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-11-03 10:58:50 +03:00
Removed unused CopyDir() and InlineRebuildStringToJsString()
Bugfix StrMailDomainToLower()
This commit is contained in:
parent
b0463f3bff
commit
1da2bb045f
2 changed files with 7 additions and 51 deletions
|
|
@ -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'))
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue