module EscapeUtils::CGIHtmlSafety
Public Instance Methods
escapeHTML(html)
click to toggle source
Calls superclass method
# File lib/escape_utils/html/cgi.rb, line 3 def escapeHTML(html) ::EscapeUtils::HtmlSafety.escape_once(html) { |s| super(s) } end
unescapeHTML(html)
click to toggle source
Calls superclass method
# File lib/escape_utils/html/cgi.rb, line 7 def unescapeHTML(html) super(html.to_s) end