aboutsummaryrefslogtreecommitdiff
path: root/src/Text/Pandoc/Writers
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2011-01-21 09:58:23 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2011-01-21 09:58:23 -0800
commit5c35be13625895f52c66f98be81751b49b1b0365 (patch)
tree6b2350c357e2ab91f6de71ffa2bd936bb17867bd /src/Text/Pandoc/Writers
parentbfbc2898714e026a7fb58a7de78df3759c4551db (diff)
downloadpandoc-5c35be13625895f52c66f98be81751b49b1b0365.tar.gz
Make sure native output ends in newline with --standalone.
Diffstat (limited to 'src/Text/Pandoc/Writers')
-rw-r--r--src/Text/Pandoc/Writers/Native.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Text/Pandoc/Writers/Native.hs b/src/Text/Pandoc/Writers/Native.hs
index 2ebe83d6b..d2b56cd17 100644
--- a/src/Text/Pandoc/Writers/Native.hs
+++ b/src/Text/Pandoc/Writers/Native.hs
@@ -73,6 +73,6 @@ writeNative opts (Pandoc meta blocks) =
else Nothing
withHead = if writerStandalone opts
then \bs -> text ("Pandoc " ++ "(" ++ show meta ++ ")") $$
- bs <> cr
+ bs $$ cr
else id
in render colwidth $ withHead $ prettyList $ map prettyBlock blocks