Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
xdg
shared-mime-info
Commits
db6efe84
Commit
db6efe84
authored
Sep 16, 2019
by
Bastien Nocera
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
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
Changes
3
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
2 deletions
+4
-2
freedesktop.org.xml.in
freedesktop.org.xml.in
+2
-2
tests/list
tests/list
+1
-0
tests/network-symbolic.svg
tests/network-symbolic.svg
+1
-0
No files found.
freedesktop.org.xml.in
View file @
db6efe84
...
@@ -6006,8 +6006,6 @@ command to generate the output files.
...
@@ -6006,8 +6006,6 @@ command to generate the output files.
<match
type=
"string"
value=
"<!DOCTYPE html"
offset=
"0:256"
/>
<match
type=
"string"
value=
"<!DOCTYPE html"
offset=
"0:256"
/>
<match
type=
"string"
value=
"<HEAD"
offset=
"0:256"
/>
<match
type=
"string"
value=
"<HEAD"
offset=
"0:256"
/>
<match
type=
"string"
value=
"<head"
offset=
"0:256"
/>
<match
type=
"string"
value=
"<head"
offset=
"0:256"
/>
<match
type=
"string"
value=
"<TITLE"
offset=
"0:256"
/>
<match
type=
"string"
value=
"<title"
offset=
"0:256"
/>
<match
type=
"string"
value=
"<HTML"
offset=
"0:256"
/>
<match
type=
"string"
value=
"<HTML"
offset=
"0:256"
/>
<match
type=
"string"
value=
"<html"
offset=
"0:256"
/>
<match
type=
"string"
value=
"<html"
offset=
"0:256"
/>
<match
type=
"string"
value=
"<SCRIPT"
offset=
"0:256"
/>
<match
type=
"string"
value=
"<SCRIPT"
offset=
"0:256"
/>
...
@@ -6020,6 +6018,8 @@ command to generate the output files.
...
@@ -6020,6 +6018,8 @@ command to generate the output files.
</magic>
</magic>
<magic
priority=
"40"
>
<magic
priority=
"40"
>
<match
type=
"string"
value=
"<!--"
offset=
"0"
/>
<match
type=
"string"
value=
"<!--"
offset=
"0"
/>
<match
type=
"string"
value=
"<TITLE"
offset=
"0:256"
/>
<match
type=
"string"
value=
"<title"
offset=
"0:256"
/>
</magic>
</magic>
<glob
pattern=
"*.html"
weight=
"80"
/>
<glob
pattern=
"*.html"
weight=
"80"
/>
<glob
pattern=
"*.htm"
weight=
"80"
/>
<glob
pattern=
"*.htm"
weight=
"80"
/>
...
...
tests/list
View file @
db6efe84
...
@@ -110,6 +110,7 @@ dnd-counter.svg image/svg+xml
...
@@ -110,6 +110,7 @@ dnd-counter.svg image/svg+xml
folder.svg image/svg+xml
folder.svg image/svg+xml
# Copied from https://gitlab.freedesktop.org/xdg/shared-mime-info/issues/116#note_225851
# Copied from https://gitlab.freedesktop.org/xdg/shared-mime-info/issues/116#note_225851
terminal-app.svg image/svg+xml
terminal-app.svg image/svg+xml
network-symbolic.svg image/svg+xml
# Documents
# Documents
ooo-6.0.doc application/msword
ooo-6.0.doc application/msword
...
...
tests/network-symbolic.svg
0 → 100644
View file @
db6efe84
<?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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment