Escapes HTML tag characters: &, <, >, " and '.
Add this line to your application's Gemfile:
gem "hache"And then execute:
$ bundle
Or install it yourself as:
$ gem install hache
require "hache"
Hache.h(%q(<>&"')) == "<>&"'"
# => trueFork the project with:
$ git clone git@github.com:frodsan/hache.git
To install dependencies, use:
$ bundle install
To run the test suite, do:
$ rake test
For bug reports and pull requests use GitHub.
Hache is released under the MIT License.