diff options
author | John MacFarlane <jgm@berkeley.edu> | 2017-08-09 20:59:25 -0700 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2017-08-09 20:59:25 -0700 |
commit | 8c1ae7ddafc483d993d86161a93a1bf10d84f045 (patch) | |
tree | 469b2f4817e89942d3786cf8fdb829984ea8b540 /src/Text | |
parent | 1dcecffef4bfdef9fa853d6a5b8a7b7a90021555 (diff) | |
download | pandoc-8c1ae7ddafc483d993d86161a93a1bf10d84f045.tar.gz |
RST writer: don't wrap term in definition list.
Wrapping is not allowed.
Diffstat (limited to 'src/Text')
-rw-r--r-- | src/Text/Pandoc/Writers/RST.hs | 2 |
1 files changed, 1 insertions, 1 deletions
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 |