Skip to content
Snippets Groups Projects
Commit 596443d1 authored by Peter Rotich's avatar Peter Rotich
Browse files

Merge pull request #628 from greezybacon/issue/xml-pi-drop


html: Drop xml processing instructions from email

Reviewed-By: default avatarPeter Rotich <peter@osticket.com>
parents c50b629a d1621357
No related branches found
No related tags found
No related merge requests found
......@@ -202,8 +202,9 @@ class Format {
array(':<(head|style|script).+</\1>:is', # <head> and <style> sections
':<!\[[^]<]+\]>:', # <![if !mso]> and friends
':<!DOCTYPE[^>]+>:', # <!DOCTYPE ... >
':<\?[^>]+>:', # <?xml version="1.0" ... >
),
array('', '', ''),
array('', '', '', ''),
$html);
$config = array(
'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.
Finish editing this message first!
Please register or to comment