Man writer: don't wrap .SH and .SS lines.
Closes #5019.
commit8899f8838e8c3fac266becc02984693a6229779b
authorJohn MacFarlane <jgm@berkeley.edu>
dateFri 26 Oct 2018, 07:10 (8 years ago)
parent1ca320e
src/Text/Pandoc/Writers/Man.hs+1−1
@@ -145,7 +145,7 @@ blockToMan opts (Header level _ inlines) = do
145145 let heading = case level of
146146 1 -> ".SH "
147147 _ -> ".SS "
148− return $ text heading <> contents
148+ return $ nowrap $ text heading <> contents
149149blockToMan opts (CodeBlock _ str) = return $
150150 text ".IP" $$
151151 text ".nf" $$