In Rails, html_safe is an adjective, not a verb

Note that in Rails, string.html_safe means that string is known to be safe html, and should not be escaped; otherwise, all strings are escaped by default (for output). It does not mean that string should be escaped to become safe!

No Comments

Leave a Reply

Your email is never shared.Required fields are marked *