File: cgi.rb

package info (click to toggle)
ruby-escape-utils 1.2.1-4
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 388 kB
  • sloc: ansic: 1,742; ruby: 1,079; sh: 7; makefile: 4
file content (11 lines) | stat: -rw-r--r-- 178 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
class CGI
  extend ::EscapeUtils::HtmlSafety

  class << self
    alias escapeHTML _escape_html

    def unescapeHTML(s)
      EscapeUtils.unescape_html(s.to_s)
    end
  end
end