From ce9f5f36c8d36a930f0af8b1f1d3eefdb1658ba6 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Sun, 5 Feb 2012 09:58:16 -0800 Subject: pandoc: Treat html5+lhs as an html format. --- src/pandoc.hs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3