From a2c93c5a33b5a68b28094f3d7f4c780002d42317 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Sun, 13 Jan 2013 11:15:51 -0800 Subject: RST writer: Allow soft breaks w continuations in line blocks. --- src/Text/Pandoc/Writers/RST.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Text') 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 -- cgit v1.2.3