From dafd2e555f3e954dfb6e1395bce498221134ccd2 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Thu, 19 Jan 2012 23:45:39 -0800 Subject: Templates: Removed vestigial remnant of openxml template. Closes #381 (I think). --- src/Text/Pandoc/Templates.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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 -- cgit v1.2.3