class Haml::Parser

def is_multiline?(text)

Checks whether or not `line` is in a multiline sequence.
def is_multiline?(text)
  text && text.length > 1 && text[-1] == MULTILINE_CHAR_VALUE && text[-2] == ?\s && text !~ BLOCK_WITH_SPACES
end