diff --git a/include/class.format.php b/include/class.format.php index 7d7d7d9225a76aba2f3d7f72bee7084c75ac9c1f..735aa40d11311269915eb8b1f6cd27b840f1b3ec 100644 --- a/include/class.format.php +++ b/include/class.format.php @@ -306,8 +306,9 @@ class Format { ':<!DOCTYPE[^>]+>:', # <!DOCTYPE ... > ':<\?[^>]+>:', # <?xml version="1.0" ... > ':<html[^>]+:i', # drop html attributes + ':<div dir=(3D)?"ltr">(.*?)<\/div>(.*):is', # drop Gmail "ltr" attributes ), - array('', '', '', '', '<html'), + array('', '', '', '', '<html', '$2 $3'), $html); // HtmLawed specific config only