Permalink
Browse files

Don't use escaped line breaks in plain output.

  • Loading branch information...
1 parent b6ab2d3 commit 64f1d68d4efaee9d49ce2bbdd28372fef5a69a66 @jgm committed Aug 3, 2012
Showing with 3 additions and 1 deletion.
  1. +3 −1 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 }

0 comments on commit 64f1d68

Please sign in to comment.