git.iko.soy/typeable/pandoc
on master help sign in
Man writer: Ensure that terms in definition lists aren't line wrapped.

Closes #1195.

commit76ef65f0b36d3a613e004350609d3696d0bf5658 authorJohn MacFarlane <jgm@berkeley.edu> dateWed 12 Mar 2014, 10:23 (13 years ago) parentc3a2fc6
1 file changed+1−1
src/Text/Pandoc/Writers/Man.hs+1−1
src/Text/Pandoc/Writers/Man.hs+1−1
@@ -283,7 +283,7 @@ definitionListItemToMan opts (label, defs) = do
283283 mapM (\item -> blockToMan opts item) rest
284284 first' <- blockToMan opts first
285285 return $ first' $$ text ".RS" $$ rest' $$ text ".RE"
286− return $ text ".TP" $$ text ".B " <> labelText $$ contents
286+ return $ text ".TP" $$ nowrap (text ".B " <> labelText) $$ contents
287287
288288-- | Convert list of Pandoc block elements to man.
289289blockListToMan :: WriterOptions -- ^ Options