Ignore:
Timestamp:
Jan 18, 2010 5:40:17 AM (3 years ago)
Author:
alec
Message:
  • Fix removal of <title> tag from HTML messages (#1486432)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/roundcubemail/program/steps/mail/func.inc

    r3178 r3209  
    680680  $html_search = array( 
    681681    '/(<\/nobr>)(\s+)(<nobr>)/i',       // space(s) between <NOBR> 
    682     '/<title>.*<\/title>/i',            // PHP bug #32547 workaround: remove title tag 
     682    '/<title[^>]*>.*<\/title>/i',               // PHP bug #32547 workaround: remove title tag 
    683683    '/^(\0\0\xFE\xFF|\xFF\xFE\0\0|\xFE\xFF|\xFF\xFE|\xEF\xBB\xBF)/',    // byte-order mark (only outlook?) 
    684684    '/<html\s[^>]+>/i',                 // washtml/DOMDocument cannot handle xml namespaces 
Note: See TracChangeset for help on using the changeset viewer.