module Haml::Helpers::XssMods

def haml_xss_html_escape(text)

Rails XSS protection is enabled *and* the `:escape_html` option is set.
Escapes the HTML in the text if and only if
def haml_xss_html_escape(text)
  return text unless Haml::Util.rails_xss_safe? && haml_buffer.options[:escape_html]
  html_escape(text)
end