class Middleman::Renderers::Haml

def self.render_with_options(text, compiler_options)

Haml 5 and older
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