From aa276c04c0099949958917e5dfff9de3c934758e Mon Sep 17 00:00:00 2001 From: the-djmaze <> Date: Thu, 3 Feb 2022 16:51:51 +0100 Subject: [PATCH] Bugfix: undefined ClearBodyAndHtmlTag --- snappymail/v/0.0.0/app/libraries/MailSo/Base/HtmlUtils.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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];