自分用にカスタマイズしたshared-mime-infoのソース
Révision | 3ba7920b6dfa0b28c400d302d070dbcad5d29824 (tree) |
---|---|
l'heure | 2019-09-11 20:17:25 |
Auteur | Chris Lord <clord@igal...> |
Commiter | 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.
@@ -5997,6 +5997,7 @@ command to generate the output files. | ||
5997 | 5997 | <magic priority="50"> |
5998 | 5998 | <match type="string" value="<!DOCTYPE HTML" offset="0:256"/> |
5999 | 5999 | <match type="string" value="<!doctype html" offset="0:256"/> |
6000 | + <match type="string" value="<!DOCTYPE html" offset="0:256"/> | |
6000 | 6001 | <match type="string" value="<HEAD" offset="0:256"/> |
6001 | 6002 | <match type="string" value="<head" offset="0:256"/> |
6002 | 6003 | <match type="string" value="<TITLE" offset="0:256"/> |
@@ -6011,7 +6012,6 @@ command to generate the output files. | ||
6011 | 6012 | <match type="string" value="<h1" offset="0"/> |
6012 | 6013 | <match type="string" value="<H1" offset="0"/> |
6013 | 6014 | <match type="string" value="<!doctype HTML" offset="0"/> |
6014 | - <match type="string" value="<!DOCTYPE html" offset="0"/> | |
6015 | 6015 | </magic> |
6016 | 6016 | <glob pattern="*.html"/> |
6017 | 6017 | <glob pattern="*.htm"/> |