diff --git a/include/class.format.php b/include/class.format.php index d25579051f6c8b2f376ce35688bb382c925466b9..864bc6456c6e36863339f612e7e7fa9f2c91c581 100644 --- a/include/class.format.php +++ b/include/class.format.php @@ -305,8 +305,9 @@ class Format { ':<!\[[^]<]+\]>:', # <![if !mso]> and friends ':<!DOCTYPE[^>]+>:', # <!DOCTYPE ... > ':<\?[^>]+>:', # <?xml version="1.0" ... > + ':<html[^>]+:i', # drop html attributes ), - array('', '', '', ''), + array('', '', '', '', '<html'), $html); // HtmLawed specific config only