def call(item, content)
      if item.output_path && item.output_path.end_with?(".haml")
        item.output_path.sub!(/\.haml$/, "")
      end

      engine = Haml::Engine.new(content)
      engine.render(item.extend(Ace::Helpers))
    end
def call(item, content)
      if item.output_path && item.output_path.end_with?(".haml")
        item.output_path.sub!(/\.haml$/, "")
      end

      engine = Haml::Engine.new(content)
      engine.render(item.extend(Ace::Helpers))
    end
http://haml.hamptoncatlin.com/docs/rdoc/classes/Haml/Engine.html