class Haml::Parser
def plain(line, escape_html = nil)
def plain(line, escape_html = nil) if block_opened? raise SyntaxError.new(Error.message(:illegal_nesting_plain), @next_line.index) end unless contains_interpolation?(line.text) return ParseNode.new(:plain, line.index + 1, :text => line.text) end escape_html = @options.escape_html if escape_html.nil? line.text = unescape_interpolation(line.text, escape_html) script(line, false) end