Skip to content
Snippets Groups Projects
Commit d1621357 authored by Jared Hancock's avatar Jared Hancock
Browse files

html: Drop xml processing instructions from email

parent 12da45f9
No related branches found
No related tags found
No related merge requests found
...@@ -202,8 +202,9 @@ class Format { ...@@ -202,8 +202,9 @@ class Format {
array(':<(head|style|script).+</\1>:is', # <head> and <style> sections array(':<(head|style|script).+</\1>:is', # <head> and <style> sections
':<!\[[^]<]+\]>:', # <![if !mso]> and friends ':<!\[[^]<]+\]>:', # <![if !mso]> and friends
':<!DOCTYPE[^>]+>:', # <!DOCTYPE ... > ':<!DOCTYPE[^>]+>:', # <!DOCTYPE ... >
':<\?[^>]+>:', # <?xml version="1.0" ... >
), ),
array('', '', ''), array('', '', '', ''),
$html); $html);
$config = array( $config = array(
'safe' => 1, //Exclude applet, embed, iframe, object and script tags. 'safe' => 1, //Exclude applet, embed, iframe, object and script tags.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment