This seems like a basic thing, but I can’t find any tips ...
How can I obfuscate commenters’ e-mail to protect them from spam? Unless they have a URL, I’d like their name to link to their e-mail in order to promote accountability. (I only allow members to comment.)
Currently I’m doing this:
{if url}<a href="http://{url}">{if:else}<a href="mailto:{email}">{/if}{name}</a>Is there an elegant way to swap out the @ in the email with a simple Turing test or something?