From 402016df28cb8cffbba31d0e66c81d22520b2778 Mon Sep 17 00:00:00 2001 From: fiddlosopher Date: Sun, 4 Mar 2007 07:40:22 +0000 Subject: Fixed bug in noscript part of email obfuscation: & instead of & git-svn-id: https://pandoc.googlecode.com/svn/trunk@557 788f1e2b-df1e-0410-8736-df70ead52e1b --- src/Text/Pandoc/Writers/HTML.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Text') diff --git a/src/Text/Pandoc/Writers/HTML.hs b/src/Text/Pandoc/Writers/HTML.hs index 6a1aaf18d..8c31f12da 100644 --- a/src/Text/Pandoc/Writers/HTML.hs +++ b/src/Text/Pandoc/Writers/HTML.hs @@ -113,7 +113,7 @@ obfuscateLink opts txt src = obfuscateString name ++ "';e=n+a+h;\n" ++ "document.write(''+" ++ linkText ++ "+'<\\/'+'a'+'>');\n// -->\n")) +++ - noscript << obfuscateString altText + noscript (primHtml $ obfuscateString altText) _ -> anchor ! [href src] $ inlineListToHtml opts txt -- malformed email -- | Obfuscate character as entity. -- cgit v1.2.3