Reputation: 26294
What is the opposite of html_escape
function? Why isn't there an html_unescape?
http://api.rubyonrails.org/classes/ERB/Util.html#method-c-html_escape
Upvotes: 5
Views: 863
Reputation: 515
raw
might be what you are looking for.
http://api.rubyonrails.org/classes/ActionView/Helpers/OutputSafetyHelper.html#method-i-raw
Upvotes: 0