program/steps/mail/func.inc | ●●●●● patch | view | raw | blame | history |
program/steps/mail/func.inc
@@ -676,11 +676,13 @@ '/(<\/nobr>)(\s+)(<nobr>)/i', // space(s) between <NOBR> '/<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\sxmlns:[a-z]=[^>]+>/i', // washtml/DOMDocument cannot handle xml namespaces ); $html_replace = array( '\\1'.' '.'\\3', '', '', '<html>', ); $html = preg_replace($html_search, $html_replace, $html);