Commit 9ffcb565 authored by Bastien Nocera's avatar Bastien Nocera

tests: Add HTML file that'd get matched as XHTML

parent 75ba8d61
...@@ -84,6 +84,8 @@ mypaint.ora image/openraster ...@@ -84,6 +84,8 @@ mypaint.ora image/openraster
# Copied from https://bugs.freedesktop.org/show_bug.cgi?id=19201#c3 # Copied from https://bugs.freedesktop.org/show_bug.cgi?id=19201#c3
test.xhtml application/xhtml+xml test.xhtml application/xhtml+xml
test.xht application/xhtml+xml test.xht application/xhtml+xml
# Copied from https://gitlab.freedesktop.org/xdg/shared-mime-info/issues/98
test-really-html-not-xhtml.html text/html oxx
# Copied from http://cvs.fedoraproject.org/viewvc/comps/comps-f11.xml.in?revision=1.306 # Copied from http://cvs.fedoraproject.org/viewvc/comps/comps-f11.xml.in?revision=1.306
test.xml.in application/xml x test.xml.in application/xml x
# Copied from http://bugs.freedesktop.org/show_bug.cgi?id=25581 # Copied from http://bugs.freedesktop.org/show_bug.cgi?id=25581
......
<!-- This is perfectly valid HTML, but malformed XHTML. Loading this file will result in errors when using xdg shared-mime-info 1.12, as is available in Fedora 30, for example. This is because this long comment at the start of the file stops mime-info magic from detecting that this is HTML instead of XHTML and XHTML is weighted higher for the .html extension. -->
<p>Hello</p>
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