From 8f6eed7c729d0fdd34816fe68cef1284ce680022 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Sat, 26 Jul 2025 22:16:05 -0700 Subject: Associate the `.xml` extension with the XML reader and writer. --- src/Text/Pandoc/Format.hs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Text/Pandoc/Format.hs b/src/Text/Pandoc/Format.hs index 3dfc0ce37..7c28ca282 100644 --- a/src/Text/Pandoc/Format.hs +++ b/src/Text/Pandoc/Format.hs @@ -229,6 +229,7 @@ formatFromFilePath x = ".typ" -> defFlavor "typst" ".wiki" -> defFlavor "mediawiki" ".xhtml" -> defFlavor "html" + ".xml" -> defFlavor "xml" ['.',y] | y `elem` ['1'..'9'] -> defFlavor "man" _ -> Nothing where -- cgit v1.2.3