summaryrefslogtreecommitdiff
path: root/src/Text/Pandoc
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2014-12-15 22:10:03 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2014-12-15 22:10:03 -0800
commit4c03231e9b0eb4220725365da50263df10ad6059 (patch)
treea0b99b2efaa197ffa0f8b6477feb2779458b2767 /src/Text/Pandoc
parent08abbc460427b56e972020aafa089390ef0c9a54 (diff)
getDefaultTemplate: don't fail when called with "fb2".
Closes #1660.
Diffstat (limited to 'src/Text/Pandoc')
-rw-r--r--src/Text/Pandoc/Templates.hs1
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"