Sha256: b7d22c048317df5254ebb1e258332c6d9a64ff870d00938d09f0f824c3f606cc
Contents?: true
Size: 268 Bytes
Versions: 1
Compression:
Stored size: 268 Bytes
Contents
module EscapeUtils module CGIHtmlSafety def escapeHTML(html) ::EscapeUtils::HtmlSafety.escape_once(html) { |s| super(s) } end def unescapeHTML(html) super(html.to_s) end end end CGI.singleton_class.prepend(EscapeUtils::CGIHtmlSafety)
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
escape_utils-1.3.0 | lib/escape_utils/html/cgi.rb |