From: Chris Pearl Date: 2006-12-03T10:40:30+09:00 Subject: Re: Development hpricot breaks code File a bug on the Hpricot trac: http://code.whytheluckystiff.net/hpricot/report Be sure to include more information, for example the exact error message, and preferably the smallest piece of code to reproduce said error. On 12/3/06, lrlebron@gmail.com wrote: > I was using this simple script to parse some links from a web page > > require 'open-uri' > require 'hpricot' > > strLink = "http://sportsline.com/nfl/scoreboard/2006/week9" > > @doc = Hpricot(open(strLink)) > > @doc.search("a").each do |a| > > if a.inner_html.include?"GameCenter" > puts 'http://sportsline.com' + a.attributes['href'] > end > > end > > The script worked fine with the stable gem (0.4) but breaks with the > development gem (4.76). Unfortunately, I cannot find any documentation > that tells me what has changed between them > > Any ideas would be greatly appreciated. > > thanks, > > Luis > > >