summaryrefslogtreecommitdiff
path: root/src/Text
diff options
context:
space:
mode:
authorJohn MacFarlane <fiddlosopher@gmail.com>2013-01-13 11:15:51 -0800
committerJohn MacFarlane <fiddlosopher@gmail.com>2013-01-13 11:15:51 -0800
commita2c93c5a33b5a68b28094f3d7f4c780002d42317 (patch)
tree51871c1b375d4edfaedbc36d43e41aea2088d7dc /src/Text
parent5c067bb457a96d8c7c35c9e1ca114169a02c1d2d (diff)
RST writer: Allow soft breaks w continuations in line blocks.
Diffstat (limited to 'src/Text')
-rw-r--r--src/Text/Pandoc/Writers/RST.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Text/Pandoc/Writers/RST.hs b/src/Text/Pandoc/Writers/RST.hs
index a8513a7be..46e86add1 100644
--- a/src/Text/Pandoc/Writers/RST.hs
+++ b/src/Text/Pandoc/Writers/RST.hs
@@ -156,7 +156,7 @@ blockToRST (Para [Image txt (src,tit)]) = do
blockToRST (Para inlines)
| LineBreak `elem` inlines = do -- use line block if LineBreaks
lns <- mapM inlineListToRST $ splitBy (==LineBreak) inlines
- return $ (nowrap $ vcat $ map (text "| " <>) lns) <> blankline
+ return $ (vcat $ map (text "| " <>) lns) <> blankline
| otherwise = do
contents <- inlineListToRST inlines
return $ contents <> blankline