lwe/simple_enum — pull request #84 by jbavari (2014-08-26 20:42:36+00:00)
Title: Adding the HTML safe locale lookup by appending the  to the I18n.transla...

Thanks for supplying a great gem. We use this gem to supply some translations for these enumerations and found this gem would not supply those translations.

The Rails Internationalization guide has a quick section about supplying safe HTML Translations:

http://guides.rubyonrails.org/i18n.html

Keys with a '_html' suffix and keys named 'html' are marked as HTML safe. When you use them in views the HTML will not be escaped.

I have found a quick fix for including the html safe translations by appending '_html' to the enum key.