summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lord <clord@igalia.com>2019-08-13 16:19:59 +0100
committerBastien Nocera <hadess@hadess.net>2019-09-11 13:17:25 +0200
commit3ba7920b6dfa0b28c400d302d070dbcad5d29824 (patch)
tree8e5fd4aef4640070e280526387ca3248e307439e
parentc351995145dcda29dd5d69aa0d4137b500af3185 (diff)
downloadshared-mime-info-3ba7920b6dfa0b28c400d302d070dbcad5d29824.tar.gz
Widen a "<!DOCTYPE html" magic for xhtml file
"<!DOCTYPE html" should be checked the same way as 'DOCTYPE HTML' and 'doctype html' matches.
-rw-r--r--freedesktop.org.xml.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/freedesktop.org.xml.in b/freedesktop.org.xml.in
index 4ec951ef..c2fab173 100644
--- a/freedesktop.org.xml.in
+++ b/freedesktop.org.xml.in
@@ -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"/>