summaryrefslogtreecommitdiff
path: root/roundcubemail/program
diff options
context:
space:
mode:
authoralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2010-01-18 10:40:17 +0000
committeralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2010-01-18 10:40:17 +0000
commit0c125826a2252a14209648e384d2f5213d664b85 (patch)
treea9c8749eafae0e601367ef0d0cf744bd2ed57922 /roundcubemail/program
parentb23ef8283cd614ce4b36c30c353a7627438953e7 (diff)
- Fix removal of <title> tag from HTML messages (#1486432)
git-svn-id: https://svn.roundcube.net/trunk@3209 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program')
-rw-r--r--roundcubemail/program/steps/mail/func.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/roundcubemail/program/steps/mail/func.inc b/roundcubemail/program/steps/mail/func.inc
index 52b371999..98653087f 100644
--- a/roundcubemail/program/steps/mail/func.inc
+++ b/roundcubemail/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
);