aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJohn MacFarlane <fiddlosopher@gmail.com>2012-01-08 09:45:03 -0800
committerJohn MacFarlane <fiddlosopher@gmail.com>2012-01-08 09:45:03 -0800
commitd850712f991d5d3c8555360f239de2cfdea083b6 (patch)
tree71c78604b19360079facef887af55fdee7a3b8b1 /src
parent6f69abf4a92746240fc3194e036260bc76a2f558 (diff)
downloadpandoc-d850712f991d5d3c8555360f239de2cfdea083b6.tar.gz
Templates: Tell pandoc where to find default "html5" template.
Diffstat (limited to 'src')
-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 0d627e447..0312ba1c6 100644
--- a/src/Text/Pandoc/Templates.hs
+++ b/src/Text/Pandoc/Templates.hs
@@ -85,6 +85,7 @@ getDefaultTemplate _ "native" = return $ Right ""
getDefaultTemplate _ "json" = return $ Right ""
getDefaultTemplate user "odt" = getDefaultTemplate user "opendocument"
getDefaultTemplate user "epub" = getDefaultTemplate user "html"
+getDefaultTemplate user "html5" = getDefaultTemplate user "html"
getDefaultTemplate user "beamer" = getDefaultTemplate user "latex"
getDefaultTemplate user writer = do
let format = takeWhile (/='+') writer -- strip off "+lhs" if present