diff options
Diffstat (limited to 'pandoc.hs')
-rw-r--r-- | pandoc.hs | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -982,7 +982,10 @@ main = do let writerName' = if null writerName then defaultWriterName outputFile - else writerName + else case writerName of + "epub2" -> "epub" + "html4" -> "html" + x -> x let pdfOutput = map toLower (takeExtension outputFile) == ".pdf" |