aboutsummaryrefslogtreecommitdiff
path: root/pandoc.hs
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2016-01-21 15:23:50 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2016-01-21 15:23:50 -0800
commit3b39b16a4b6d2d8078be27d0a1b3fc977c55731f (patch)
tree0f7fece800c351f4e2aa696224804769e23de26f /pandoc.hs
parent7ea4d17509c3b0e987793d389987b87638fc9d55 (diff)
parent4d74a966c4dae72f627696e6440f8ac530965d6c (diff)
downloadpandoc-3b39b16a4b6d2d8078be27d0a1b3fc977c55731f.tar.gz
Merge pull request #2638 from c-forster/teiwriter
Add TEI Writer.
Diffstat (limited to 'pandoc.hs')
-rw-r--r--pandoc.hs2
1 files changed, 2 insertions, 0 deletions
diff --git a/pandoc.hs b/pandoc.hs
index 01f8891d8..72a7592d8 100644
--- a/pandoc.hs
+++ b/pandoc.hs
@@ -1009,6 +1009,8 @@ defaultWriterName x =
".fb2" -> "fb2"
".opml" -> "opml"
".icml" -> "icml"
+ ".tei.xml" -> "tei"
+ ".tei" -> "tei"
['.',y] | y `elem` ['1'..'9'] -> "man"
_ -> "html"