# File lib/nokogiri/hpricot.rb, line 39 def HTML(string) warn "Nokogiri::Hpricot.parse is deprecated and will be extracted to it's own gem\nwhen Nokogiri 1.4.0 is released. Please switch to Nokogiri::HTML(), or be\nprepared to install the compatibility layer.\n\#{caller.first}\n" doc = Nokogiri::HTML::Document.parse(string) add_decorators(doc) end