diff --git a/rainloop/v/0.0.0/app/libraries/MailSo/Base/HtmlUtils.php b/rainloop/v/0.0.0/app/libraries/MailSo/Base/HtmlUtils.php
index 4e1400b12..f7a48d45a 100644
--- a/rainloop/v/0.0.0/app/libraries/MailSo/Base/HtmlUtils.php
+++ b/rainloop/v/0.0.0/app/libraries/MailSo/Base/HtmlUtils.php
@@ -1529,8 +1529,6 @@ class HtmlUtils
'/
]*>(.+?)<\/th>/i',
'/ /i',
'/"/i',
- '/>/i',
- '/</i',
'/&/i',
'/©/i',
'/™/i',
@@ -1573,8 +1571,6 @@ class HtmlUtils
"\t\\1\n",
' ',
'"',
- '>',
- '<',
'&',
'(c)',
'(tm)',
@@ -1601,6 +1597,14 @@ class HtmlUtils
$sText = \preg_replace("/\n\\s+\n/", "\n", $sText);
$sText = \preg_replace("/[\n]{3,}/", "\n\n", $sText);
+ $sText = \preg_replace(array(
+ '/>/i',
+ '/</i'
+ ), array(
+ '>',
+ '<'
+ ), $sText);
+
return \trim($sText);
}
}
|