diff options
author | fiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b> | 2006-12-20 18:16:07 +0000 |
---|---|---|
committer | fiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b> | 2006-12-20 18:16:07 +0000 |
commit | b98edf2c745d6d2a1b5a20c2b50c262d9b4e85f2 (patch) | |
tree | 56ffd137ce2c747a48b1a6fe4d637dcf6a1e25c3 /tests/writer.html | |
parent | 19a81cb504425c6468206825b5ac9d411d2afa51 (diff) | |
download | pandoc-b98edf2c745d6d2a1b5a20c2b50c262d9b4e85f2.tar.gz |
Made javascript obfuscation of emails even more obfuscatory,
by combining it with entity obfuscation.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@254 788f1e2b-df1e-0410-8736-df70ead52e1b
Diffstat (limited to 'tests/writer.html')
-rw-r--r-- | tests/writer.html | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/tests/writer.html b/tests/writer.html index 0661fb732..2d067c8d5 100644 --- a/tests/writer.html +++ b/tests/writer.html @@ -415,7 +415,12 @@ Cat & 1 \\ \hline <p><a href="/url/" title="title preceded by a tab">URL and title</a>.</p> <p><a href="/url/" title="title with "quotes" in it">URL and title</a></p> <p><a href="/url/" title="title with single quotes">URL and title</a></p> -<p><script type="text/javascript">h='nowhere.net';n='nobody';e=n+'@'+h;document.write('<a href="mailto:'+e+'">'+'Email link'+'<\/a>');</script><noscript>Email link (nobody [at] nowhere.net)</noscript></p> +<p><script type="text/javascript"> +<!-- +h='nowhere.net';a='@';n='nobody';e=n+a+h; +document.write('<a h'+'ref'+'="ma'+'ilto'+':'+e+'">'+'Email link'+'<\/'+'a'+'>'); +// --> +</script><noscript>Email link (nobody at nowhere dot net)</noscript></p> <p><a href="">Empty</a>.</p> <a id="Reference"></a> <h2>Reference</h2> @@ -446,7 +451,12 @@ Cat & 1 \\ \hline <li><a href="http://example.com/">http://example.com/</a></li> <li>It should.</li> </ul> -<p>An e-mail address: <script type="text/javascript">h='nowhere.net';n='nobody';e=n+'@'+h;document.write('<a href="mailto:'+e+'">'+e+'<\/a>');</script><noscript>nobody [at] nowhere.net</noscript></p> +<p>An e-mail address: <script type="text/javascript"> +<!-- +h='nowhere.net';a='@';n='nobody';e=n+a+h; +document.write('<a h'+'ref'+'="ma'+'ilto'+':'+e+'">'+e+'<\/'+'a'+'>'); +// --> +</script><noscript>nobody at nowhere dot net</noscript></p> <blockquote> <p>Blockquoted: <a href="http://example.com/">http://example.com/</a></p> </blockquote> |