git.iko.soy/typeable/pandoc
on master help sign in
Make `--ascii` work properly with `--self-contained`.

Closes #568.

commit5be6bf07d28c1e791b222666db6f863187d3bc18 authorJohn MacFarlane <fiddlosopher@gmail.com> dateThu 19 Jul 2012, 12:45 (14 years ago) parent2351f7a
1 file changed+1−1
src/pandoc.hs+1−1
src/pandoc.hs+1−1
@@ -1060,7 +1060,7 @@ main = do
10601060 Left err' -> err 43 $ toString err'
10611061 Just w
10621062 | htmlFormat && ascii ->
1063− writerFn outputFile =<< selfcontain (toEntities result)
1063+ writerFn outputFile . toEntities =<< selfcontain result
10641064 | otherwise ->
10651065 writerFn outputFile =<< selfcontain result
10661066 where result = w writerOptions doc2 ++ ['\n' | not standalone']