aboutsummaryrefslogtreecommitdiff
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
parent08abbc460427b56e972020aafa089390ef0c9a54 (diff)
downloadpandoc-4c03231e9b0eb4220725365da50263df10ad6059.tar.gz
getDefaultTemplate: don't fail when called with "fb2".
Closes #1660.
-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"