summaryrefslogtreecommitdiff
path: root/roundcubemail/program/steps/mail
diff options
context:
space:
mode:
authoralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2009-08-27 09:52:52 +0000
committeralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2009-08-27 09:52:52 +0000
commit0dde2f819738fccfae31a2fc3fdfd847004b3ca8 (patch)
tree50b1d2ced5091351a6c469b85fff419d48d184e6 /roundcubemail/program/steps/mail
parent86b1d640f8b55999aaaae0cc5473b8065563e759 (diff)
- remove all html tag attribs (#1486003)
git-svn-id: https://svn.roundcube.net/trunk@2880 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/steps/mail')
-rw-r--r--roundcubemail/program/steps/mail/func.inc2
1 files changed, 1 insertions, 1 deletions
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+)(<nobr>)/i', // space(s) between <NOBR>
'/<title>.*<\/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'.' &nbsp; '.'\\3',