summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2024-02-14 07:43:57 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2024-02-14 07:43:57 -0800
commit9c0a0a1c565cab226f9c1d51729e258b26c67b85 (patch)
treed4a3c63407f07ad5528072881d5f31d037281a11 /src
parent18aff3845312d7d6c2f42f417cafd683d0abf5d2 (diff)
Man writer: fix bug with long URLs.
URLs with more than 68 characters didn't display properly because of wrapping. Closes #9458.
Diffstat (limited to 'src')
-rw-r--r--src/Text/Pandoc/Writers/Man.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Text/Pandoc/Writers/Man.hs b/src/Text/Pandoc/Writers/Man.hs
index 9496ff249..a691fe7ff 100644
--- a/src/Text/Pandoc/Writers/Man.hs
+++ b/src/Text/Pandoc/Writers/Man.hs
@@ -332,7 +332,7 @@ inlineToMan opts (Link _ txt (src, _))
then (".MT", ".ME")
else (".UR", ".UE")
return $ "\\c" <> cr -- \c avoids extra space
- $$ (start <+> literal srcSuffix)
+ $$ nowrap (start <+> literal srcSuffix)
$$ linktext
$$ (end <+> "\\c" <> cr) -- \c avoids space after
inlineToMan opts (Image attr alternate (source, tit)) = do