class Middleman::Renderers::Haml
def self.render_with_options(text, compiler_options)
def self.render_with_options(text, compiler_options) modified_options = options.dup modified_options[:context] = compiler_options[:context] text = template_class.new(nil, 1, modified_options) { text }.render super(text, compiler_options) end