Sprout Encode Email
This plugin is no longer maintained. The developer recommends using Obfuscator instead.
Encode the email addresses in your templates so they can't be harvested by evil spam bots.
Usage
The rot13
filter (and the easier to remember encode
filter) encode the string you pass to them using the Rot13 cipher and return a javascript tag to decode the string on the page.
{% set email = "<a href='mailto:you@example.com'>Your Name</a>" %}
{{ email | encode }}
{{ email | rot13 }}
The entities
filter encodes your content into HTML Entities.
<a href='{{ "mailto:you@example.com" | entities }}'>Your Name</a>
Installation Instructions
To install this plugin, copy the command above to your terminal.
Active Installs
337
License
MIT
Last release
April 30, 2019
Activity (30 days)
0
Closed Issues
0
Open Issues
0
Merged PRs
0
Open PRs