Consider whitespaces when trying to translate <, >, <= and >= signs in HTML:

- Fix some mails get cut off after switching to plain-text mode
This commit is contained in:
Hadi Nategh 2017-01-09 16:57:30 +01:00
parent e135b7272f
commit 1eff570926

View File

@ -320,10 +320,10 @@ class Html
12 => '/<blockquote>/', 12 => '/<blockquote>/',
13 => '~</blockquote>~si', 13 => '~</blockquote>~si',
14 => '~<blockquote[^>]*>~si', 14 => '~<blockquote[^>]*>~si',
15 => '/<=([1234567890])/', 15 => '/<=\s*([1234567890])/',
16 => '/>=([1234567890])/', 16 => '/>=\s*([1234567890])/',
17 => '/<([1234567890])/', 17 => '/<\s*([1234567890])/',
18 => '/>([1234567890])/', 18 => '/>\s*([1234567890])/',
); );
$Replace = array ( $Replace = array (
0 => "\r\n", 0 => "\r\n",