module Haml::Precompiler

def push_plain(text, options = {})

Also checks for an illegally opened block.
Renders a block of text as plain text.
def push_plain(text, options = {})
  if block_opened?
    raise SyntaxError.new("Illegal nesting: nesting within plain text is illegal.", @next_line.index)
  end
  if contains_interpolation?(text)
    options[:escape_html] = self.options[:escape_html] if options[:escape_html].nil?
    push_script(
      unescape_interpolation(text, :escape_html => options[:escape_html]),
      :escape_html => false)
  else
    push_text text
  end
end