Commit 3ba7920b authored by Chris Lord's avatar Chris Lord Committed by Bastien Nocera

Widen a "<!DOCTYPE html" magic for xhtml file

"<!DOCTYPE html" should be checked the same way as 'DOCTYPE HTML' and
'doctype html' matches.
parent c3519951
......@@ -5997,6 +5997,7 @@ command to generate the output files.
<magic priority="50">
<match type="string" value="&lt;!DOCTYPE HTML" offset="0:256"/>
<match type="string" value="&lt;!doctype html" offset="0:256"/>
<match type="string" value="&lt;!DOCTYPE html" offset="0:256"/>
<match type="string" value="&lt;HEAD" offset="0:256"/>
<match type="string" value="&lt;head" offset="0:256"/>
<match type="string" value="&lt;TITLE" offset="0:256"/>
......@@ -6011,7 +6012,6 @@ command to generate the output files.
<match type="string" value="&lt;h1" offset="0"/>
<match type="string" value="&lt;H1" offset="0"/>
<match type="string" value="&lt;!doctype HTML" offset="0"/>
<match type="string" value="&lt;!DOCTYPE html" offset="0"/>
</magic>
<glob pattern="*.html"/>
<glob pattern="*.htm"/>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment