# File lib/html/htmlparser.rb, line 384 384: def unknown_starttag(tag, attrs) 385: attrs = attrs.inject({}) do |hash, attr| 386: hash[attr[0].downcase] = attr[1] 387: hash 388: end 389: element = HTML::Tag.new(@current || @document, 0, 0, tag.downcase, attrs, true) 390: @current.children << element 391: @current = element 392: end