Revert "utils: try nokogiri/hpricot if hpricot is not available"
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>
Sun, 30 Aug 2009 19:56:11 +0000 (21:56 +0200)
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>
Sun, 30 Aug 2009 19:56:11 +0000 (21:56 +0200)
commit860c15fb58bf063f745cde1ccaf0d3d25a089cc2
tree082dd4848ca41583fb02c9b237c9d774fa95e926
parent269e7f8e7168808c784bf4128be721798e567ab4
Revert "utils: try nokogiri/hpricot if hpricot is not available"

This reverts commit 4ea25eba02d85b81dcee4302375d7d3e08cd52ac.

Not only the patch was missing an essential part, but Nokogiri is not
compatible enough with Hpricot anyway. Incompatibilities include
doc/"style|script" raising an "Undefined namespace prefix" error and the
non-existence of Hpricot::Elements.

If we want to support Nokogiri we'll need to write code for it on
purpose or redesign the Hpricot code so that it only uses the subset
supported by Nokogiri.
lib/rbot/core/utils/utils.rb