Commit 84563c62 authored by Bastien Nocera's avatar Bastien Nocera

Lower the magic for the often-embed "<svg" match

So that HTML files with "<svg" in them can be recognised first and
foremost as an HTML file.

See https://bugs.webkit.org/show_bug.cgi?id=201295
parent 9ffcb565
......@@ -4917,6 +4917,8 @@ command to generate the output files.
<sub-class-of type="application/xml"/>
<magic priority="80">
<match type="string" value="&lt;!DOCTYPE svg" offset="0:256"/>
</magic>
<magic priority="40">
<match type="string" value="&lt;svg" offset="0:256"/>
</magic>
<glob pattern="*.svg"/>
......
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