aboutsummaryrefslogtreecommitdiff
path: root/src/Text/Pandoc/App.hs
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2017-03-24 09:40:02 +0100
committerJohn MacFarlane <jgm@berkeley.edu>2017-03-24 09:40:13 +0100
commit718254340fb73d75cf8f6fc322631c1c72db0e47 (patch)
treea737d64bb297753f388ff8b976fa3171243fb98b /src/Text/Pandoc/App.hs
parent7de9a6ef5fd89c0aded82acc7f037d9a98e243be (diff)
downloadpandoc-718254340fb73d75cf8f6fc322631c1c72db0e47.tar.gz
Recognize .roff extension as ms format.
Diffstat (limited to 'src/Text/Pandoc/App.hs')
-rw-r--r--src/Text/Pandoc/App.hs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Text/Pandoc/App.hs b/src/Text/Pandoc/App.hs
index 29a8add3d..0fc883792 100644
--- a/src/Text/Pandoc/App.hs
+++ b/src/Text/Pandoc/App.hs
@@ -696,6 +696,7 @@ defaultWriterName x =
".tei.xml" -> "tei"
".tei" -> "tei"
".ms" -> "ms"
+ ".roff" -> "ms"
['.',y] | y `elem` ['1'..'9'] -> "man"
_ -> "html"