class Haml::Parser

def handle_multiline(line)

def handle_multiline(line)
  return unless is_multiline?(line.text)
  line.text.slice!(-1)
  loop do
    new_line = @template.first
    break if new_line.eod?
    next @template.shift if new_line.text.strip.empty?
    break unless is_multiline?(new_line.text.strip)
    line.text << new_line.text.strip[0...-1]
    @template.shift
  end
end