Skip to content
Snippets Groups Projects
Commit 0eafad2a authored by Chris Lamb's avatar Chris Lamb :eyes:
Browse files

file(1) v5.46 now emits "XHTML document" for .xhtml files, such as those found...

file(1) v5.46 now emits "XHTML document" for .xhtml files, such as those found nested within our .epub tests.
parent b448a4eb
No related branches found
No related tags found
No related merge requests found
Pipeline #836286 passed with warnings
......@@ -117,7 +117,9 @@ class XMLFile(File):
"""
DESCRIPTION = "XML files"
FILE_TYPE_RE = re.compile(r"^(XML \S+ document|GnuCash file)")
FILE_TYPE_RE = re.compile(
r"^(XML \S+ document|GnuCash file|XHTML document)"
)
@classmethod
def recognizes(cls, file):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment