[Git][reproducible-builds/diffoscope][master] file(1) v5.46 now emits "XHTML document" for .xhtml files, such as those found...
Chris Lamb (@lamby)
gitlab at salsa.debian.org
Fri Mar 21 13:01:57 UTC 2025
Chris Lamb pushed to branch master at Reproducible Builds / diffoscope
Commits:
0eafad2a by Chris Lamb at 2025-03-21T13:01:39+00:00
file(1) v5.46 now emits "XHTML document" for .xhtml files, such as those found nested within our .epub tests.
- - - - -
1 changed file:
- diffoscope/comparators/xml.py
Changes:
=====================================
diffoscope/comparators/xml.py
=====================================
@@ -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):
View it on GitLab: https://salsa.debian.org/reproducible-builds/diffoscope/-/commit/0eafad2a769f67493d265ccd3fc3223d4b9b5382
--
View it on GitLab: https://salsa.debian.org/reproducible-builds/diffoscope/-/commit/0eafad2a769f67493d265ccd3fc3223d4b9b5382
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.reproducible-builds.org/pipermail/rb-commits/attachments/20250321/a09064e1/attachment.htm>
More information about the rb-commits
mailing list