Commit db6efe84 authored by Bastien Nocera's avatar Bastien Nocera

Lower the priority of "<title" for HTML files

Those are also found in SVG files.
parent fe8b8a9d
Pipeline #64025 passed with stage
in 3 minutes and 22 seconds
......@@ -6006,8 +6006,6 @@ command to generate the output files.
<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"/>
<match type="string" value="&lt;title" offset="0:256"/>
<match type="string" value="&lt;HTML" offset="0:256"/>
<match type="string" value="&lt;html" offset="0:256"/>
<match type="string" value="&lt;SCRIPT" offset="0:256"/>
......@@ -6020,6 +6018,8 @@ command to generate the output files.
</magic>
<magic priority="40">
<match type="string" value="&lt;!--" offset="0"/>
<match type="string" value="&lt;TITLE" offset="0:256"/>
<match type="string" value="&lt;title" offset="0:256"/>
</magic>
<glob pattern="*.html" weight="80"/>
<glob pattern="*.htm" weight="80"/>
......
......@@ -110,6 +110,7 @@ dnd-counter.svg image/svg+xml
folder.svg image/svg+xml
# Copied from https://gitlab.freedesktop.org/xdg/shared-mime-info/issues/116#note_225851
terminal-app.svg image/svg+xml
network-symbolic.svg image/svg+xml
# Documents
ooo-6.0.doc application/msword
......
<?xml version="1.0" ?><svg height="16px" version="1.1" viewBox="0 0 16 16" width="16px" xmlns="http://www.w3.org/2000/svg" xmlns:sketch="http://www.bohemiancoding.com/sketch/ns" xmlns:xlink="http://www.w3.org/1999/xlink"><title/><defs/><g fill="none" fill-rule="evenodd" id="Icons with numbers" stroke="none" stroke-width="1"><g fill="#000000" id="Group" transform="translate(-576.000000, -288.000000)"><path d="M576,298 C576,296.651721 576.895887,295.507545 578.127761,295.131093 C578.500314,293.897932 579.645295,293 581,293 C581.174013,293 581.344566,293.014816 581.510466,293.043254 C582.195719,291.823839 583.50165,291 585,291 C587.209139,291 589,292.790861 589,295 C590.668415,295.005076 592,296.346276 592,298 C592,299.653483 590.652611,301 588.990522,301 L579.009478,301 C577.336631,301 576,299.656854 576,298 Z M576,298" id="Rectangle 169"/></g></g></svg>
\ No newline at end of file
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