git.iko.soy/typeable/pandoc
on master help sign in
Man page writer: modified treatment of autolinks,

in accord with recent change from Str to Code. git-svn-id: https://pandoc.googlecode.com/svn/trunk@816 788f1e2b-df1e-0410-8736-df70ead52e1b

commitd65f01f467d6c6c837338d0375721f0364f66560 authorfiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b> dateSat 28 Jul 2007, 04:14 (19 years ago) parent94ed30c
1 file changed+1−1
src/Text/Pandoc/Writers/Man.hs+1−1
src/Text/Pandoc/Writers/Man.hs+1−1
@@ -287,7 +287,7 @@ inlineToMan opts Space = return $ char ' '
287287inlineToMan opts (Link txt (src, _)) = do
288288 linktext <- inlineListToMan opts txt
289289 let srcSuffix = if isPrefixOf "mailto:" src then drop 7 src else src
290− return $ if txt == [Str srcSuffix]
290+ return $ if txt == [Code srcSuffix]
291291 then char '<' <> text srcSuffix <> char '>'
292292 else linktext <> text " (" <> text src <> char ')'
293293inlineToMan opts (Image alternate (source, tit)) = do