From 8566f86bfa3297cd5a4085b0875d31a41e381a48 Mon Sep 17 00:00:00 2001 From: Nathan Weizenbaum Date: Sat, 8 Mar 2008 15:41:22 -0800 Subject: [PATCH] Give Haml::Buffer in init_haml_helpers the default Haml::Engine options. --- lib/haml/helpers.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/haml/helpers.rb b/lib/haml/helpers.rb index 4b5eac3e..b6652dc3 100644 --- a/lib/haml/helpers.rb +++ b/lib/haml/helpers.rb @@ -38,7 +38,7 @@ module Haml # def init_haml_helpers @haml_is_haml = true - @haml_stack = [Haml::Buffer.new] + @haml_stack = [Haml::Buffer.new(Haml::Engine.new('').send(:options_for_buffer))] nil end