alecpl
2009-07-05 74ceb69d114b09c2c8ccf05529641fd5fba28160
- handle <broadcast> tag in html messages (#1485962)


1 files modified
2 ■■■■■ changed files
program/steps/mail/func.inc 2 ●●●●● patch | view | raw | blame | history
program/steps/mail/func.inc
@@ -677,6 +677,7 @@
    '/(<\/nobr>)(\s+)(<nobr>)/i',    // space(s) between <NOBR>
    '/(<[\/]*st1:[^>]+>)/i',        // Microsoft's Smart Tags <ST1>
    '/<\/?rte_text>/i',            // Rich Text Editor tags (#1485647)
    '/<\/?broadcast[^>]*>/i',        // invoices from the Apple Store contains <broadcast> tags (#1485962)
    '/<title>.*<\/title>/i',        // PHP bug #32547 workaround: remove title tag
    '/<html[^>]*>/im',            // malformed html: remove html tags (#1485139)
    '/<\/html>/i',            // malformed html: remove html tags (#1485139)
@@ -690,6 +691,7 @@
    '',
    '',
    '',
    '',
  );
  $html = preg_replace($html_search, $html_replace, $html);