Give Haml::Buffer in init_haml_helpers the default Haml::Engine options.
This commit is contained in:
parent
722c68f9de
commit
8566f86bfa
|
@ -38,7 +38,7 @@ module Haml
|
||||||
#
|
#
|
||||||
def init_haml_helpers
|
def init_haml_helpers
|
||||||
@haml_is_haml = true
|
@haml_is_haml = true
|
||||||
@haml_stack = [Haml::Buffer.new]
|
@haml_stack = [Haml::Buffer.new(Haml::Engine.new('').send(:options_for_buffer))]
|
||||||
nil
|
nil
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue