From 26d30d6d38dca9e6c7fd5db812e5646e367ff5aa Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Mon, 21 Jan 2013 11:28:35 -0800 Subject: Use proportional font for email autolinks with obfuscation. Closes #714. --- src/Text/Pandoc/Writers/HTML.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Text/Pandoc') diff --git a/src/Text/Pandoc/Writers/HTML.hs b/src/Text/Pandoc/Writers/HTML.hs index 32d52f3e7..da03d495d 100644 --- a/src/Text/Pandoc/Writers/HTML.hs +++ b/src/Text/Pandoc/Writers/HTML.hs @@ -341,7 +341,7 @@ obfuscateLink opts txt s = at' = obfuscateChar '@' (linkText, altText) = if txt == drop 7 s' -- autolink - then ("''+e+''", name' ++ " at " ++ domain') + then ("e", name' ++ " at " ++ domain') else ("'" ++ txt ++ "'", txt ++ " (" ++ name' ++ " at " ++ domain' ++ ")") in case meth of -- cgit v1.2.3