diff options
author | John MacFarlane <jgm@berkeley.edu> | 2014-12-15 22:10:03 -0800 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2014-12-15 22:10:03 -0800 |
commit | 4c03231e9b0eb4220725365da50263df10ad6059 (patch) | |
tree | a0b99b2efaa197ffa0f8b6477feb2779458b2767 /src/Text | |
parent | 08abbc460427b56e972020aafa089390ef0c9a54 (diff) | |
download | pandoc-4c03231e9b0eb4220725365da50263df10ad6059.tar.gz |
getDefaultTemplate: don't fail when called with "fb2".
Closes #1660.
Diffstat (limited to 'src/Text')
-rw-r--r-- | src/Text/Pandoc/Templates.hs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Text/Pandoc/Templates.hs b/src/Text/Pandoc/Templates.hs index 4ae6a6d8a..a92f91b41 100644 --- a/src/Text/Pandoc/Templates.hs +++ b/src/Text/Pandoc/Templates.hs @@ -129,6 +129,7 @@ getDefaultTemplate user writer = do "native" -> return $ Right "" "json" -> return $ Right "" "docx" -> return $ Right "" + "fb2" -> return $ Right "" "odt" -> getDefaultTemplate user "opendocument" "markdown_strict" -> getDefaultTemplate user "markdown" "multimarkdown" -> getDefaultTemplate user "markdown" |