class Haml::Parser
def haml_comment(text)
def haml_comment(text) if filter_opened? @flat = true @filter_buffer = String.new @filter_buffer << "#{text}\n" unless text.empty? text = @filter_buffer # If we don't know the indentation by now, it'll be set in Line#tabs @flat_spaces = @indentation * (@template_tabs+1) if @indentation end ParseNode.new(:haml_comment, @line.index + 1, :text => text) end