git.iko.soy/typeable/pandoc
on master help sign in
pandoc: Treat html5+lhs as an html format.
commitce9f5f36c8d36a930f0af8b1f1d3eefdb1658ba6 authorJohn MacFarlane <fiddlosopher@gmail.com> dateSun 5 Feb 2012, 09:58 (15 years ago) parentf97391c
1 file changed+2−1
src/pandoc.hs+2−1
src/pandoc.hs+2−1
@@ -1041,7 +1041,8 @@ main = do
10411041 Left err' -> err 43 $ toString err'
10421042 Just r -> writerFn outputFile =<< postProcess result
10431043 where result = r writerOptions doc2 ++ ['\n' | not standalone']
1044− htmlFormats = ["html","html+lhs","s5","slidy","dzslides"]
1044+ htmlFormats = ["html","html+lhs","html5","html5+lhs",
1045+ "s5","slidy","dzslides"]
10451046 postProcess = if selfContained && writerName' `elem` htmlFormats
10461047 then makeSelfContained datadir
10471048 else return