diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/pandoc.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pandoc.hs b/src/pandoc.hs index 2f85906d5..71826e0f0 100644 --- a/src/pandoc.hs +++ b/src/pandoc.hs @@ -1060,7 +1060,7 @@ main = do Left err' -> err 43 $ toString err' Just w | htmlFormat && ascii -> - writerFn outputFile =<< selfcontain (toEntities result) + writerFn outputFile . toEntities =<< selfcontain result | otherwise -> writerFn outputFile =<< selfcontain result where result = w writerOptions doc2 ++ ['\n' | not standalone'] |