From 0dde2f819738fccfae31a2fc3fdfd847004b3ca8 Mon Sep 17 00:00:00 2001 From: alec Date: Thu, 27 Aug 2009 09:52:52 +0000 Subject: - remove all html tag attribs (#1486003) git-svn-id: https://svn.roundcube.net/trunk@2880 208e9e7b-5314-0410-a742-e7e81cd9613c --- roundcubemail/program/steps/mail/func.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'roundcubemail/program/steps/mail/func.inc') diff --git a/roundcubemail/program/steps/mail/func.inc b/roundcubemail/program/steps/mail/func.inc index 87f7bc42f..f6e4a9d63 100644 --- a/roundcubemail/program/steps/mail/func.inc +++ b/roundcubemail/program/steps/mail/func.inc @@ -676,7 +676,7 @@ function rcmail_wash_html($html, $p = array(), $cid_replaces) '/(<\/nobr>)(\s+)()/i', // space(s) between '/.*<\/title>/i', // PHP bug #32547 workaround: remove title tag '/^(\0\0\xFE\xFF|\xFF\xFE\0\0|\xFE\xFF|\xFF\xFE|\xEF\xBB\xBF)/', // byte-order mark (only outlook?) - '/<html\sxmlns:[a-z]=[^>]+>/i', // washtml/DOMDocument cannot handle xml namespaces + '/<html\s[^>]+>/i', // washtml/DOMDocument cannot handle xml namespaces ); $html_replace = array( '\\1'.'   '.'\\3', -- cgit v1.2.3