git.iko.soy/typeable/pandoc
on master help sign in
RST writer: don't wrap term in definition list.

Wrapping is not allowed.

commit8c1ae7ddafc483d993d86161a93a1bf10d84f045 authorJohn MacFarlane <jgm@berkeley.edu> dateWed 9 Aug 2017, 20:59 (9 years ago) parent1dcecff
1 file changed+1−1
src/Text/Pandoc/Writers/RST.hs+1−1
src/Text/Pandoc/Writers/RST.hs+1−1
@@ -331,7 +331,7 @@ definitionListItemToRST (label, defs) = do
331331 label' <- inlineListToRST label
332332 contents <- liftM vcat $ mapM blockListToRST defs
333333 tabstop <- gets $ writerTabStop . stOptions
334− return $ label' $$ nest tabstop (nestle contents <> cr)
334+ return $ nowrap label' $$ nest tabstop (nestle contents <> cr)
335335
336336-- | Format a list of lines as line block.
337337linesToLineBlock :: PandocMonad m => [[Inline]] -> RST m Doc