alecpl
2009-08-27 4f7aa85f222a49cdbf0baf1e5a9920d51f4fd3ac
program/steps/mail/func.inc
@@ -676,7 +676,7 @@
    '/(<\/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\s[^>]+>/i',         // washtml/DOMDocument cannot handle xml namespaces
  );
  $html_replace = array(
    '\\1'.' &nbsp; '.'\\3',