Skip to content
Snippets Groups Projects
Commit 53158746 authored by Peter Rotich's avatar Peter Rotich Committed by GitHub
Browse files

Merge pull request #3215 from greezybacon/issue/2465

html: Fix processing of some <html> tags in email
parents 1b883797 18414cd7
No related branches found
No related tags found
No related merge requests found
...@@ -305,8 +305,9 @@ class Format { ...@@ -305,8 +305,9 @@ class Format {
':<!\[[^]<]+\]>:', # <![if !mso]> and friends ':<!\[[^]<]+\]>:', # <![if !mso]> and friends
':<!DOCTYPE[^>]+>:', # <!DOCTYPE ... > ':<!DOCTYPE[^>]+>:', # <!DOCTYPE ... >
':<\?[^>]+>:', # <?xml version="1.0" ... > ':<\?[^>]+>:', # <?xml version="1.0" ... >
':<html[^>]+:i', # drop html attributes
), ),
array('', '', '', ''), array('', '', '', '', '<html'),
$html); $html);
// HtmLawed specific config only // HtmLawed specific config only
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment