# File lib/haml/helpers/action_view_mods.rb, line 114 114: def content_tag_with_haml(name, *args, &block) 115: return content_tag_without_haml(name, *args, &block) unless is_haml? 116: 117: preserve = haml_buffer.options[:preserve].include?(name.to_s) 118: 119: if block_given? && block_is_haml?(block) && preserve 120: return content_tag_without_haml(name, *args) {preserve(&block)} 121: end 122: 123: content = content_tag_without_haml(name, *args, &block) 124: content = Haml::Helpers.preserve(content) if preserve && content 125: content 126: end
Disabled; run with --debug to generate this.
Generated with the Darkfish Rdoc Generator 1.1.6.