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 diff --git a/tests/writer.html b/tests/writer.html index ce3d7cae6..b0227e21b 100644 --- a/tests/writer.html +++ b/tests/writer.html @@ -533,7 +533,7 @@ document.write(''+'Email link'+'<\/'+'a'+'>')

An e-mail address: