From 74ceb69d114b09c2c8ccf05529641fd5fba28160 Mon Sep 17 00:00:00 2001 From: alecpl Date: Sun, 5 Jul 2009 09:31:18 +0000 Subject: - handle tag in html messages (#1485962) --- program/steps/mail/func.inc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'program/steps/mail') diff --git a/program/steps/mail/func.inc b/program/steps/mail/func.inc index 8b2f196ad..004f80d7e 100644 --- a/program/steps/mail/func.inc +++ b/program/steps/mail/func.inc @@ -677,6 +677,7 @@ function rcmail_wash_html($html, $p = array(), $cid_replaces) '/(<\/nobr>)(\s+)()/i', // space(s) between '/(<[\/]*st1:[^>]+>)/i', // Microsoft's Smart Tags '/<\/?rte_text>/i', // Rich Text Editor tags (#1485647) + '/<\/?broadcast[^>]*>/i', // invoices from the Apple Store contains tags (#1485962) '/.*<\/title>/i', // PHP bug #32547 workaround: remove title tag '/<html[^>]*>/im', // malformed html: remove html tags (#1485139) '/<\/html>/i', // malformed html: remove html tags (#1485139) @@ -690,6 +691,7 @@ function rcmail_wash_html($html, $p = array(), $cid_replaces) '', '', '', + '', ); $html = preg_replace($html_search, $html_replace, $html); -- cgit v1.2.3