RST writer: don't wrap term in definition list.

Wrapping is not allowed.
This commit is contained in:
John MacFarlane
2017-08-09 20:59:25 -07:00
parent 1dcecffef4
commit 8c1ae7ddaf
+1 -1
View File
@@ -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