Man writer: Ensure that terms in definition lists aren't line wrapped.
Closes #1195.
This commit is contained in:
parent
c3a2fc643c
commit
76ef65f0b3
1 changed files with 1 additions and 1 deletions
|
@ -283,7 +283,7 @@ definitionListItemToMan opts (label, defs) = do
|
|||
mapM (\item -> blockToMan opts item) rest
|
||||
first' <- blockToMan opts first
|
||||
return $ first' $$ text ".RS" $$ rest' $$ text ".RE"
|
||||
return $ text ".TP" $$ text ".B " <> labelText $$ contents
|
||||
return $ text ".TP" $$ nowrap (text ".B " <> labelText) $$ contents
|
||||
|
||||
-- | Convert list of Pandoc block elements to man.
|
||||
blockListToMan :: WriterOptions -- ^ Options
|
||||
|
|
Loading…
Add table
Reference in a new issue