module ActionView::Helpers::TextHelper

def safe_concat_with_haml_xss(string)

def safe_concat_with_haml_xss(string)
  if is_haml?
    haml_buffer.buffer.concat(string)
  else
    safe_concat_without_haml_xss(string)
  end
end