From: Ron M Date: 2006-07-08T22:46:00+09:00 Subject: Re: [ANN] Hpricot 0.2 -- scanner: check, parser: check. why the lucky stiff wrote: > On Tue, Jul 04, 2006 at 02:28:45PM +0900, why the lucky stiff wrote: >> gem install hpricot --source code.whytheluckystiff.net > > Okay, 0.2 is out.... Hpricot chokes on this when I try it. require 'rubygems' require 'hpricot' require 'open-uri' Hpricot(open('http://www.pcmag.com/article2/0,1759,1765785,00.asp')).to_html If I understand, some methods (to_html, at least) in the version of Hpricot I have (whatever was there yesterday morning) doesn't like ugly "html" like "" where apparently attribute values end up being null. I can work around it by putting aval ||= '' in STag in tag.rb