No release in over a year
Encode strings to HTML escape characters
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

>= 0
>= 0
 Project Readme

jekyll-html-encode

Converts strings to HTML Escape Entity characters

Example

{{ 'Hello, World!' | encode_html }}

# ~> Hello, World!

Install

Install by putting the following into your Gemfile:

gem 'jekyll-html-encode'

Then, put the following into your _config.yml:

plugins:
- jekyll-email-protect

Why?

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.