Changeset 2190 in subversion
- Timestamp:
- Dec 27, 2008 2:45:49 PM (4 years ago)
- File:
-
- 1 edited
-
trunk/roundcubemail/program/steps/mail/func.inc (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/roundcubemail/program/steps/mail/func.inc
r2163 r2190 643 643 $html_search = array( 644 644 '/(<\/nobr>)(\s+)(<nobr>)/i', // space(s) between <NOBR> 645 '/(<[\/]*st1:[^>]+>)/i', // Microsoft's Smart Tags <ST1> 646 '/<title>.*<\/title>/i', // PHP bug #32547 workaround: remove title tag 647 '/<html[^>]*>/im', // malformed html: remove html tags (#1485139) 648 '/<\/html>/i', // malformed html: remove html tags (#1485139) 649 '/^[\xFE\xFF\xBB\xBF\x00]+((?:<\!doctype|\<html))/im', // remove byte-order mark (only outlook?) 645 '/(<[\/]*st1:[^>]+>)/i', // Microsoft's Smart Tags <ST1> 646 '/<\/?rte_text>/i', // Rich Text Editor tags (#1485647) 647 '/<title>.*<\/title>/i', // PHP bug #32547 workaround: remove title tag 648 '/<html[^>]*>/im', // malformed html: remove html tags (#1485139) 649 '/<\/html>/i', // malformed html: remove html tags (#1485139) 650 '/^[\xFE\xFF\xBB\xBF\x00]+((?:<\!doctype|\<html))/im', // remove byte-order mark (only outlook?) 650 651 ); 651 652 $html_replace = array( … … 654 655 '', 655 656 '', 657 '', 658 '', 656 659 '\\1', 657 '',658 660 ); 659 661 $html = preg_replace($html_search, $html_replace, $html);
Note: See TracChangeset
for help on using the changeset viewer.
