summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJohn MacFarlane <fiddlosopher@gmail.com>2012-02-05 09:58:16 -0800
committerJohn MacFarlane <fiddlosopher@gmail.com>2012-02-05 09:58:16 -0800
commitce9f5f36c8d36a930f0af8b1f1d3eefdb1658ba6 (patch)
tree50a6b5738b18c4b3837be71349e775c1ced41fcc /src
parentf97391c7de9ef4adeea954f298b588043a0c128c (diff)
pandoc: Treat html5+lhs as an html format.
Diffstat (limited to 'src')
-rw-r--r--src/pandoc.hs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/pandoc.hs b/src/pandoc.hs
index 918aa1ce7..3e6ade9a6 100644
--- a/src/pandoc.hs
+++ b/src/pandoc.hs
@@ -1041,7 +1041,8 @@ main = do
Left err' -> err 43 $ toString err'
Just r -> writerFn outputFile =<< postProcess result
where result = r writerOptions doc2 ++ ['\n' | not standalone']
- htmlFormats = ["html","html+lhs","s5","slidy","dzslides"]
+ htmlFormats = ["html","html+lhs","html5","html5+lhs",
+ "s5","slidy","dzslides"]
postProcess = if selfContained && writerName' `elem` htmlFormats
then makeSelfContained datadir
else return