From 7754b7f2ddd8b188de66b4c0f0b4a87d2a2045c6 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Tue, 19 Oct 2021 08:04:18 -0700 Subject: FormatHeuristics: remove `.tei.xml` extension for TEI. As noted in #7630, this never worked, because `takeExtension` only returns `.xml`. So it won't be missed if we remove it. Closes #7630. --- src/Text/Pandoc/App/FormatHeuristics.hs | 1 - 1 file changed, 1 deletion(-) (limited to 'src') diff --git a/src/Text/Pandoc/App/FormatHeuristics.hs b/src/Text/Pandoc/App/FormatHeuristics.hs index bdf8c6667..a2acfc6d6 100644 --- a/src/Text/Pandoc/App/FormatHeuristics.hs +++ b/src/Text/Pandoc/App/FormatHeuristics.hs @@ -74,7 +74,6 @@ formatFromFilePath x = ".s5" -> Just "s5" ".t2t" -> Just "t2t" ".tei" -> Just "tei" - ".tei.xml" -> Just "tei" ".tex" -> Just "latex" ".texi" -> Just "texinfo" ".texinfo" -> Just "texinfo" -- cgit v1.2.3