mirror of
https://github.com/jgm/pandoc.git
synced 2026-10-24 12:33:19 +08:00
RST writer: don't wrap term in definition list.
Wrapping is not allowed.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user