From: mortee Date: 2007-11-01T01:03:50+09:00 Subject: Re: HTML parser Hpricot? and how to get all text kendear wrote: > On 10/30/07, mortee wrote: >> >> C:\>gem list hpricot >> >> *** LOCAL GEMS *** >> >> hpricot (0.6, 0.5, 0.4) >> a swift, liberal HTML parser with a fantastic library >> >> C:\>irb >> irb(main):001:0> require 'hpricot' >> => true >> irb(main):002:0> d = Hpricot("hello world") >> => # "hello " {elem "world" } }> >> irb(main):003:0> d.inner_text >> => "hello world" >> >> mortee >> >> >> > yup, mine is > > C:\>gem list hpricot > > *** LOCAL GEMS *** > > hpricot (0.4) > a swift, liberal HTML parser with a fantastic library > > and d.inner_text or d.text both won't work. > Does something prevent you from upgrading? mortee