lib/haml/helpers/action_view_mods.rb in haml-3.1.2 vs lib/haml/helpers/action_view_mods.rb in haml-3.1.3

- old
+ new

@@ -86,9 +86,10 @@ end else module CaptureHelper def capture_with_haml(*args, &block) if Haml::Helpers.block_is_haml?(block) + _hamlout = eval('_hamlout', block.binding) # Necessary since capture_haml checks _hamlout value = nil buffer = capture_haml(*args) { value = yield(*args) } str = if !buffer.empty? buffer