diff options
| author | John MacFarlane <[email protected]> | 2025-07-26 22:16:05 -0700 |
|---|---|---|
| committer | John MacFarlane <[email protected]> | 2025-07-26 22:45:11 -0700 |
| commit | 8f6eed7c729d0fdd34816fe68cef1284ce680022 (patch) | |
| tree | 59e9dd67bc850941aa454dcf8d7772e26db083d8 | |
| parent | fe3684632b543b3d8a6b23de9da42dd87daedde7 (diff) | |
Associate the `.xml` extension with the XML reader and writer.
| -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 |
