Skip to content

Commit 9c0a0a1

Browse files
committed
Man writer: fix bug with long URLs.
URLs with more than 68 characters didn't display properly because of wrapping. Closes #9458.
1 parent 18aff38 commit 9c0a0a1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Text/Pandoc/Writers/Man.hs

+1-1
Original file line numberDiff line numberDiff line change
@@ -332,7 +332,7 @@ inlineToMan opts (Link _ txt (src, _))
332332
then (".MT", ".ME")
333333
else (".UR", ".UE")
334334
return $ "\\c" <> cr -- \c avoids extra space
335-
$$ (start <+> literal srcSuffix)
335+
$$ nowrap (start <+> literal srcSuffix)
336336
$$ linktext
337337
$$ (end <+> "\\c" <> cr) -- \c avoids space after
338338
inlineToMan opts (Image attr alternate (source, tit)) = do

0 commit comments

Comments
 (0)