diff --git a/snappymail/v/0.0.0/app/libraries/MailSo/Base/HtmlUtils.php b/snappymail/v/0.0.0/app/libraries/MailSo/Base/HtmlUtils.php index 84ef65bcc..cd00413ae 100644 --- a/snappymail/v/0.0.0/app/libraries/MailSo/Base/HtmlUtils.php +++ b/snappymail/v/0.0.0/app/libraries/MailSo/Base/HtmlUtils.php @@ -72,14 +72,13 @@ abstract class HtmlUtils '/<\?xml [^>]*\?>/i' ), '', $sText); - $sHtmlAttrs = $sBodyAttrs = ''; - $sText = static::ClearBodyAndHtmlTag($sText, $sHtmlAttrs, $sBodyAttrs); - + $sHtmlAttrs = ''; $aMatch = array(); if (\preg_match('/]+)>/im', $sText, $aMatch) && !empty($aMatch[1])) { $sHtmlAttrs = $aMatch[1]; } + $sBodyAttrs = ''; $aMatch = array(); if (\preg_match('/]+)>/im', $sText, $aMatch) && !empty($aMatch[1])) { $sBodyAttrs = $aMatch[1];