Make sure native output ends in newline with --standalone.
This commit is contained in:
parent
bfbc289871
commit
5c35be1362
8 changed files with 8 additions and 8 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue