module ActionView::Helpers::TagHelper
def content_tag_with_haml(name, *args, &block)
def content_tag_with_haml(name, *args, &block) content = content_tag_without_haml(name, *args, &block) if is_haml? && haml_buffer.options[:preserve].include?(name.to_s) content = Haml::Helpers.preserve content end content end