Module: EscapeUtils::CGIHtmlSafety
- Defined in:
- lib/escape_utils/html/cgi.rb
Instance Method Summary collapse
Instance Method Details
#escapeHTML(html) ⇒ Object
3 4 5 |
# File 'lib/escape_utils/html/cgi.rb', line 3 def escapeHTML(html) ::EscapeUtils::HtmlSafety.escape_once(html) { |s| super(s) } end |
#unescapeHTML(html) ⇒ Object
7 8 9 |
# File 'lib/escape_utils/html/cgi.rb', line 7 def unescapeHTML(html) super(html.to_s) end |