Commit 9fab71b3 authored by Bastien Nocera's avatar Bastien Nocera

Reduce priority of "<!--" magic for HTML files

Those are valid ways for loads of XML (and XML-ish) files to start.

See https://bugzilla.redhat.com/show_bug.cgi?id=1752117
parent caf418fa
......@@ -6010,11 +6010,13 @@ command to generate the output files.
<match type="string" value="&lt;script" offset="0:256"/>
<match type="string" value="&lt;BODY" offset="0"/>
<match type="string" value="&lt;body" offset="0"/>
<match type="string" value="&lt;!--" offset="0"/>
<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"/>
</magic>
<magic priority="40">
<match type="string" value="&lt;!--" offset="0"/>
</magic>
<glob pattern="*.html" weight="80"/>
<glob pattern="*.htm" weight="80"/>
</mime-type>
......
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