= private = protected
html_escape(s)
escape ’&’, ’"’, ’<’ and ’>’ for use in HTML.
# File lib/rss/utils.rb, line 18 def html_escape(s) s.to_s.gsub(/&/, "&").gsub(/\"/, """).gsub(/>/, ">").gsub(/</, "<") end