aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2021-10-19 08:04:18 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2021-10-19 08:05:30 -0700
commit7754b7f2ddd8b188de66b4c0f0b4a87d2a2045c6 (patch)
tree4d69793a304684d7edde67eb14026e6fa3cab965
parent465c28d28e1017040a41653edb6248056f178d3b (diff)
downloadpandoc-7754b7f2ddd8b188de66b4c0f0b4a87d2a2045c6.tar.gz
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.
-rw-r--r--src/Text/Pandoc/App/FormatHeuristics.hs1
1 files changed, 0 insertions, 1 deletions
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"