summaryrefslogtreecommitdiff
path: root/roundcubemail/program/steps
diff options
context:
space:
mode:
authoralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2009-07-05 09:31:18 +0000
committeralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2009-07-05 09:31:18 +0000
commitef7aec432abe71ad2d8fda4cafd776f97c6e5928 (patch)
tree06b42c0a4735eea29384fa4c9da1a2dd7576d0f8 /roundcubemail/program/steps
parent9ccf902dac976bb630341add1b145cae992112da (diff)
- handle <broadcast> tag in html messages (#1485962)
git-svn-id: https://svn.roundcube.net/trunk@2710 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/steps')
-rw-r--r--roundcubemail/program/steps/mail/func.inc2
1 files changed, 2 insertions, 0 deletions
diff --git a/roundcubemail/program/steps/mail/func.inc b/roundcubemail/program/steps/mail/func.inc
index 8b2f196ad..004f80d7e 100644
--- a/roundcubemail/program/steps/mail/func.inc
+++ b/roundcubemail/program/steps/mail/func.inc
@@ -677,6 +677,7 @@ function rcmail_wash_html($html, $p = array(), $cid_replaces)
'/(<\/nobr>)(\s+)(<nobr>)/i', // space(s) between <NOBR>
'/(<[\/]*st1:[^>]+>)/i', // Microsoft's Smart Tags <ST1>
'/<\/?rte_text>/i', // Rich Text Editor tags (#1485647)
+ '/<\/?broadcast[^>]*>/i', // invoices from the Apple Store contains <broadcast> tags (#1485962)
'/<title>.*<\/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);