From 8c1ae7ddafc483d993d86161a93a1bf10d84f045 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Wed, 9 Aug 2017 20:59:25 -0700 Subject: RST writer: don't wrap term in definition list. Wrapping is not allowed. --- src/Text/Pandoc/Writers/RST.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/Text/Pandoc/Writers/RST.hs b/src/Text/Pandoc/Writers/RST.hs index 019c8335d..17f5b3f91 100644 --- a/src/Text/Pandoc/Writers/RST.hs +++ b/src/Text/Pandoc/Writers/RST.hs @@ -331,7 +331,7 @@ definitionListItemToRST (label, defs) = do label' <- inlineListToRST label contents <- liftM vcat $ mapM blockListToRST defs tabstop <- gets $ writerTabStop . stOptions - return $ label' $$ nest tabstop (nestle contents <> cr) + return $ nowrap label' $$ nest tabstop (nestle contents <> cr) -- | Format a list of lines as line block. linesToLineBlock :: PandocMonad m => [[Inline]] -> RST m Doc -- cgit v1.2.3