From 96b679d10ddedf97c7a72724697edca2f5266179 Mon Sep 17 00:00:00 2001 From: alecpl Date: Mon, 18 Jan 2010 10:40:17 +0000 Subject: - Fix removal of tag from HTML messages (#1486432) --- program/steps/mail/func.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'program/steps/mail') diff --git a/program/steps/mail/func.inc b/program/steps/mail/func.inc index 52b371999..98653087f 100644 --- a/program/steps/mail/func.inc +++ b/program/steps/mail/func.inc @@ -679,7 +679,7 @@ function rcmail_wash_html($html, $p = array(), $cid_replaces) // special replacements (not properly handled by washtml class) $html_search = array( '/(<\/nobr>)(\s+)(<nobr>)/i', // space(s) between <NOBR> - '/<title>.*<\/title>/i', // PHP bug #32547 workaround: remove title tag + '/<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\s[^>]+>/i', // washtml/DOMDocument cannot handle xml namespaces ); -- cgit v1.2.3