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);