Man writer: don't wrap .SH and .SS lines.

Closes #5019.
This commit is contained in:
John MacFarlane 2018-10-26 07:10:18 -07:00
parent 1ca320e249
commit 8899f8838e

View file

@ -145,7 +145,7 @@ blockToMan opts (Header level _ inlines) = do
let heading = case level of
1 -> ".SH "
_ -> ".SS "
return $ text heading <> contents
return $ nowrap $ text heading <> contents
blockToMan opts (CodeBlock _ str) = return $
text ".IP" $$
text ".nf" $$