Module
A subset of ERB::Util
. Unlike ERB::Util#html_escape, we expect/hope Rails will not monkey-patch ERB::Escape#html_escape
.
Class Methods
lib/erb/util.rb
View on GitHub
# File tmp/rubies/ruby-master/lib/erb/util.rb, line 22
def html_escape(s)
CGI.escapeHTML(s.to_s)
end
No documentation available
Instance Methods
lib/erb/util.rb
View on GitHub
# File tmp/rubies/ruby-master/lib/erb/util.rb, line 22
def html_escape(s)
CGI.escapeHTML(s.to_s)
end
No documentation available