From 8899f8838e8c3fac266becc02984693a6229779b Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Fri, 26 Oct 2018 07:10:18 -0700 Subject: Man writer: don't wrap .SH and .SS lines. Closes #5019. --- src/Text/Pandoc/Writers/Man.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Text/Pandoc/Writers/Man.hs b/src/Text/Pandoc/Writers/Man.hs index b32d2ff6c..c4570f761 100644 --- a/src/Text/Pandoc/Writers/Man.hs +++ b/src/Text/Pandoc/Writers/Man.hs @@ -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" $$ -- cgit v1.2.3