# File lib/rubyful_soup.rb, line 508
  def initialize(text, args={})
    super(self, @@rootTagName)
    @quote_stack = []
    @hidden = 1
    if args[:parse_only_these]
      @parse_only_these = Set.new
      p = args[:parse_only_these]
      if p.respond_to? :each
        p.each { |x| @parse_only_these << x }
      else
        @parse_only_these << p
      end      
    else
      @parse_only_these = nil
    end
    reset

    @avoid_parser_problems = args[:avoid_parser_problems] || true
    if @avoid_parser_problems and not @avoid_parser_problems.is_a? Enumerable
      @avoid_parser_problems = @@parser_massage
    end
    feed(text) if text != nil
    done if args[:initial_text_is_everything] != false
  end