aboutsummaryrefslogtreecommitdiff
path: root/src/Text/Pandoc/Readers/CommonMark.hs
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2015-12-12 09:31:51 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2015-12-12 09:31:51 -0800
commitaf7e78243682ec7c353dd202590c45c734f86ada (patch)
tree731509a3ab17391a415bfb13c9798884569fe554 /src/Text/Pandoc/Readers/CommonMark.hs
parentd9c2f500bf636dca5b7f54548faf13dfd363c53b (diff)
downloadpandoc-af7e78243682ec7c353dd202590c45c734f86ada.tar.gz
Modified readers to emit SoftBreak when appropriate.
Diffstat (limited to 'src/Text/Pandoc/Readers/CommonMark.hs')
-rw-r--r--src/Text/Pandoc/Readers/CommonMark.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Text/Pandoc/Readers/CommonMark.hs b/src/Text/Pandoc/Readers/CommonMark.hs
index 7f752c446..71c7d05b2 100644
--- a/src/Text/Pandoc/Readers/CommonMark.hs
+++ b/src/Text/Pandoc/Readers/CommonMark.hs
@@ -103,7 +103,7 @@ addInline (Node _ (TEXT t) _) = (map toinl clumps ++)
toinl (' ':_) = Space
toinl xs = Str xs
addInline (Node _ LINEBREAK _) = (LineBreak :)
-addInline (Node _ SOFTBREAK _) = (Space :)
+addInline (Node _ SOFTBREAK _) = (SoftBreak :)
addInline (Node _ (INLINE_HTML t) _) =
(RawInline (Format "html") (unpack t) :)
addInline (Node _ (CODE t) _) =