# File lib/haml/helpers/action_view_mods.rb, line 86 def capture_with_haml(*args, &block) if Haml::Helpers.block_is_haml?(block) str = capture_haml(*args, &block) return ActionView::NonConcattingString.new(str) if defined?(ActionView::NonConcattingString) return str else capture_without_haml(*args, &block) end end