RST writer: Allow soft breaks w continuations in line blocks.
This commit is contained in:
parent
5c067bb457
commit
a2c93c5a33
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue