summaryrefslogtreecommitdiff
path: root/program
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2010-01-18 10:40:17 +0000
committeralecpl <alec@alec.pl>2010-01-18 10:40:17 +0000
commit96b679d10ddedf97c7a72724697edca2f5266179 (patch)
tree64c7cf118599b2cf9eb27a74301102db173ab475 /program
parent76c94b6ba8a8e306f89f1ee908cb411374e4f2d8 (diff)
- Fix removal of <title> tag from HTML messages (#1486432)
Diffstat (limited to 'program')
-rw-r--r--program/steps/mail/func.inc2
1 files changed, 1 insertions, 1 deletions
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
);