# File lib/haml/helpers.rb, line 543 def html_escape(text) text = text.to_s text.gsub(HTML_ESCAPE_REGEX) {|s| HTML_ESCAPE[s]} end