aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJohn MacFarlane <fiddlosopher@gmail.com>2012-01-19 23:45:39 -0800
committerJohn MacFarlane <fiddlosopher@gmail.com>2012-01-19 23:45:39 -0800
commitdafd2e555f3e954dfb6e1395bce498221134ccd2 (patch)
treea8deaf91c6d9838551668283ab3f36fa5c8b74dc /src
parent75a2b2fda199bc71ebbf4825a189efcf255732ad (diff)
downloadpandoc-dafd2e555f3e954dfb6e1395bce498221134ccd2.tar.gz
Templates: Removed vestigial remnant of openxml template.
Closes #381 (I think).
Diffstat (limited to 'src')
-rw-r--r--src/Text/Pandoc/Templates.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Text/Pandoc/Templates.hs b/src/Text/Pandoc/Templates.hs
index 1847cb0de..a03be4f17 100644
--- a/src/Text/Pandoc/Templates.hs
+++ b/src/Text/Pandoc/Templates.hs
@@ -83,8 +83,8 @@ getDefaultTemplate :: (Maybe FilePath) -- ^ User data directory to search first
-> IO (Either E.IOException String)
getDefaultTemplate _ "native" = return $ Right ""
getDefaultTemplate _ "json" = return $ Right ""
+getDefaultTemplate _ "docx" = return $ Right ""
getDefaultTemplate user "odt" = getDefaultTemplate user "opendocument"
-getDefaultTemplate user "docx" = getDefaultTemplate user "openxml"
getDefaultTemplate user "epub" = getDefaultTemplate user "html"
getDefaultTemplate user "beamer" = getDefaultTemplate user "latex"
getDefaultTemplate user writer = do