diff options
author | John MacFarlane <jgm@berkeley.edu> | 2012-08-02 22:22:52 -0700 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2012-08-02 22:22:52 -0700 |
commit | 64f1d68d4efaee9d49ce2bbdd28372fef5a69a66 (patch) | |
tree | 8c08e21bbe6d9be679a3a3918c45008e0d8670c8 /src/Text/Pandoc | |
parent | b6ab2d3cb895fdabb519d16e83a39f8e4d789d1c (diff) | |
download | pandoc-64f1d68d4efaee9d49ce2bbdd28372fef5a69a66.tar.gz |
Don't use escaped line breaks in plain output.
Diffstat (limited to 'src/Text/Pandoc')
-rw-r--r-- | src/Text/Pandoc/Writers/Markdown.hs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/Text/Pandoc/Writers/Markdown.hs b/src/Text/Pandoc/Writers/Markdown.hs index 2abbde45b..2c938081a 100644 --- a/src/Text/Pandoc/Writers/Markdown.hs +++ b/src/Text/Pandoc/Writers/Markdown.hs @@ -62,7 +62,9 @@ writeMarkdown opts document = -- pictures, or inline formatting). writePlain :: WriterOptions -> Pandoc -> String writePlain opts document = - evalState (pandocToMarkdown opts{writerExtensions = Set.empty} + evalState (pandocToMarkdown opts{ + writerExtensions = Set.delete Ext_escaped_line_breaks $ + writerExtensions opts } document') WriterState{ stNotes = [] , stRefs = [] , stPlain = True } |