Commit 8ae13a58 authored by Nikita Zlobin's avatar Nikita Zlobin Committed by Bastien Nocera

Assign *.html to XHTML pages

So that WebKitGTK+ can detect mime-types more reliably for local
XHTML files which wouldn't be detected as XHTML through magic.

See https://bugs.webkit.org/show_bug.cgi?id=160347

https://bugs.freedesktop.org/show_bug.cgi?id=107637
parent 2d7bea2e
......@@ -3966,6 +3966,8 @@ command to generate the output files.
<generic-icon name="text-html"/>
<glob pattern="*.xhtml"/>
<glob pattern="*.xht"/>
<glob pattern="*.html"/>
<glob pattern="*.htm"/>
<magic priority="60">
<match type="string" value="//W3C//DTD XHTML " offset="0:256"/>
<match type="string" value="http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd" offset="0:256"/>
......
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