Converts strings to HTML Escape Entity characters
{{ 'Hello, World!' | encode_html }}
# ~> Hello, World!
Install by putting the following into your Gemfile:
gem 'jekyll-html-encode'
Then, put the following into your _config.yml
:
plugins:
- jekyll-email-protect
I made this to add a little extra obscurity for webscrapers looking to grab my email. I made it to use in conjunction with jekyll-email-protect.
It may not have much benefit at all, as it seems like modern browsers tend to just render the HTML Escape Entities as text in source anyway and I've not really had much a chance to test it, however I'd rather be safe than have a hundred thousand emails about my car's extended warranty or "magic pills" flooding my inbox when I publish my website.