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
This commit is contained in:
parent
21ba6b08f2
commit
402016df28
2 changed files with 3 additions and 3 deletions
|
@ -113,7 +113,7 @@ obfuscateLink opts txt src =
|
|||
obfuscateString name ++ "';e=n+a+h;\n" ++
|
||||
"document.write('<a h'+'ref'+'=\"ma'+'ilto'+':'+e+'\">'+" ++
|
||||
linkText ++ "+'<\\/'+'a'+'>');\n// -->\n")) +++
|
||||
noscript << obfuscateString altText
|
||||
noscript (primHtml $ obfuscateString altText)
|
||||
_ -> anchor ! [href src] $ inlineListToHtml opts txt -- malformed email
|
||||
|
||||
-- | Obfuscate character as entity.
|
||||
|
|
|
@ -721,7 +721,7 @@ document.write('<a h'+'ref'+'="ma'+'ilto'+':'+e+'">'+'Email link'+'<\/'+'a'+'>')
|
|||
// -->
|
||||
</script
|
||||
><noscript
|
||||
>&#x45;&#x6d;&#x61;&#x69;&#108;&#32;&#108;&#x69;&#110;&#x6b;&#32;&#40;&#110;&#x6f;&#98;&#x6f;&#100;&#x79;&#32;&#x61;&#116;&#32;&#110;&#x6f;&#x77;&#104;&#x65;&#114;&#x65;&#32;&#100;&#x6f;&#116;&#32;&#110;&#x65;&#116;&#x29;</noscript
|
||||
>Email link (nobody at nowhere dot net)</noscript
|
||||
></p
|
||||
><p
|
||||
><a href=""
|
||||
|
@ -819,7 +819,7 @@ document.write('<a h'+'ref'+'="ma'+'ilto'+':'+e+'">'+e+'<\/'+'a'+'>');
|
|||
// -->
|
||||
</script
|
||||
><noscript
|
||||
>&#110;&#x6f;&#98;&#x6f;&#100;&#x79;&#32;&#x61;&#116;&#32;&#110;&#x6f;&#x77;&#104;&#x65;&#114;&#x65;&#32;&#100;&#x6f;&#116;&#32;&#110;&#x65;&#116;</noscript
|
||||
>nobody at nowhere dot net</noscript
|
||||
></p
|
||||
><blockquote
|
||||
><p
|
||||
|
|
Loading…
Reference in a new issue