escapeHTML

escapeHTML(string)
Class Public methods

Escape special characters in HTML, namely &"<>

CGI::escapeHTML('Usage: foo "bar" <baz>')
   # => "Usage: foo &quot;bar&quot; &lt;baz&gt;"
doc_ruby_on_rails
2015-04-01 03:09:59
Comments
Leave a Comment

Please login to continue.