aboutsummaryrefslogtreecommitdiff
path: root/src/Text
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2017-08-09 20:59:25 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2017-08-09 20:59:25 -0700
commit8c1ae7ddafc483d993d86161a93a1bf10d84f045 (patch)
tree469b2f4817e89942d3786cf8fdb829984ea8b540 /src/Text
parent1dcecffef4bfdef9fa853d6a5b8a7b7a90021555 (diff)
downloadpandoc-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.hs2
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