aboutsummaryrefslogtreecommitdiff
path: root/src/Text
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2015-12-11 15:33:53 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2015-12-11 15:33:53 -0800
commit63d875c6cbc9a8ac6b514982327a70df01d8a482 (patch)
tree961988a403198d1ca87faf535fc79979306daf56 /src/Text
parent83c56bd1effd06e5411ae3bf065c3acf11faab72 (diff)
downloadpandoc-63d875c6cbc9a8ac6b514982327a70df01d8a482.tar.gz
Markdown reader: parse soft break as SoftBreak.
Diffstat (limited to 'src/Text')
-rw-r--r--src/Text/Pandoc/Readers/Markdown.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Text/Pandoc/Readers/Markdown.hs b/src/Text/Pandoc/Readers/Markdown.hs
index 2d222176c..2a901326f 100644
--- a/src/Text/Pandoc/Readers/Markdown.hs
+++ b/src/Text/Pandoc/Readers/Markdown.hs
@@ -1679,7 +1679,7 @@ endline = try $ do
(eof >> return mempty)
<|> (guardEnabled Ext_hard_line_breaks >> return (return B.linebreak))
<|> (guardEnabled Ext_ignore_line_breaks >> return mempty)
- <|> (return $ return B.space)
+ <|> (return $ return B.softbreak)
--
-- links