diff options
| -rw-r--r-- | src/Text/Pandoc/Format.hs | 1 |
1 files changed, 1 insertions, 0 deletions
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 |
