|
|
@ -643,6 +643,7 @@ function rcmail_print_body($part, $p = array())
|
|
|
|
$html_search = array(
|
|
|
|
$html_search = array(
|
|
|
|
'/(<\/nobr>)(\s+)(<nobr>)/i', // space(s) between <NOBR>
|
|
|
|
'/(<\/nobr>)(\s+)(<nobr>)/i', // space(s) between <NOBR>
|
|
|
|
'/(<[\/]*st1:[^>]+>)/i', // Microsoft's Smart Tags <ST1>
|
|
|
|
'/(<[\/]*st1:[^>]+>)/i', // Microsoft's Smart Tags <ST1>
|
|
|
|
|
|
|
|
'/<\/?rte_text>/i', // Rich Text Editor tags (#1485647)
|
|
|
|
'/<title>.*<\/title>/i', // PHP bug #32547 workaround: remove title tag
|
|
|
|
'/<title>.*<\/title>/i', // PHP bug #32547 workaround: remove title tag
|
|
|
|
'/<html[^>]*>/im', // malformed html: remove html tags (#1485139)
|
|
|
|
'/<html[^>]*>/im', // malformed html: remove html tags (#1485139)
|
|
|
|
'/<\/html>/i', // malformed html: remove html tags (#1485139)
|
|
|
|
'/<\/html>/i', // malformed html: remove html tags (#1485139)
|
|
|
@ -653,8 +654,9 @@ function rcmail_print_body($part, $p = array())
|
|
|
|
'',
|
|
|
|
'',
|
|
|
|
'',
|
|
|
|
'',
|
|
|
|
'',
|
|
|
|
'',
|
|
|
|
'\\1',
|
|
|
|
|
|
|
|
'',
|
|
|
|
'',
|
|
|
|
|
|
|
|
'',
|
|
|
|
|
|
|
|
'\\1',
|
|
|
|
);
|
|
|
|
);
|
|
|
|
$html = preg_replace($html_search, $html_replace, $html);
|
|
|
|
$html = preg_replace($html_search, $html_replace, $html);
|
|
|
|
|
|
|
|
|
|
|
|