class Haml::Parser

def process_indent(line)

Processes and deals with lowering indentation.
def process_indent(line)
  return unless line.tabs <= @template_tabs && @template_tabs > 0
  to_close = @template_tabs - line.tabs
  to_close.times {|i| close unless to_close - 1 - i == 0 && mid_block_keyword?(line.text)}
end