Simple gem does one thing, and one thing only... Turns funky chars such as [FILL IN HERE] to the proper HTML Encodings such as [FILL IN HERE].
Add this line to your application's Gemfile:
gem 'text_cleaner'
And then execute:
$ bundle
Or install it yourself as:
$ gem install text_cleaner
TextCleaner.clean(input_text)
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Added some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request