diff --git a/docs/en/designers/language-custom-functions/language-function-mailto.xml b/docs/en/designers/language-custom-functions/language-function-mailto.xml index 7ea52b48..1b35315d 100644 --- a/docs/en/designers/language-custom-functions/language-function-mailto.xml +++ b/docs/en/designers/language-custom-functions/language-function-mailto.xml @@ -39,7 +39,8 @@ No none How to encode the e-mail. Can be one of none, - hex or javascript. + hex, javascript + or javascript_charcode. cc @@ -111,6 +112,8 @@ {mailto address="me@example.com" subject="Hello to you!"} {mailto address="me@example.com" cc="you@example.com,they@example.com"} {mailto address="me@example.com" extra='class="email"'} +{mailto address="me@example.com" encode="javascript_charcode"} + OUTPUT: @@ -123,7 +126,12 @@ OUTPUT: <a href="mailto:%6d%65@%64%6f%6d%61%69%6e.%63%6f%6d" >me@domain.com</a> <a href="mailto:me@example.com?subject=Hello%20to%20you%21" >me@example.com</a> <a href="mailto:me@example.com?cc=you@example.com%2Cthey@example.com" >me@example.com</a> -<a href="mailto:me@example.com" class="email">me@example.com</a> +<a href="mailto:me@example.com" class="email">me@example.com</a> +<script type="text/javascript" language="javascript"> +<!-- +{document.write(String.fromCharCode(60,97,32,104,114,101,102,61,34,109,97,105,108,116,111,58,109,101,64,101,120,97,109,112,108,101,46,99,111,109,34,32,62,109,101,64,101,120,97,109,112,108,101,46,99,111,109,60,47,97,62))} +//--> +</script>