diff --git a/include/class.format.php b/include/class.format.php index 8bdb7fa46fdd8676c24887a7d49706f36219d9eb..03216e4a061665b2b18a856f8bf95509f9dd5236 100644 --- a/include/class.format.php +++ b/include/class.format.php @@ -202,8 +202,9 @@ class Format { array(':<(head|style|script).+</\1>:is', # <head> and <style> sections ':<!\[[^]<]+\]>:', # <![if !mso]> and friends ':<!DOCTYPE[^>]+>:', # <!DOCTYPE ... > + ':<\?[^>]+>:', # <?xml version="1.0" ... > ), - array('', '', ''), + array('', '', '', ''), $html); $config = array( 'safe' => 1, //Exclude applet, embed, iframe, object and script tags.