strange error in hpricot on an ec2 (Amazon Elastic Compute Cloud) instance

3 views
Skip to first unread message

Mischa

unread,
Feb 22, 2010, 8:21:14 AM2/22/10
to hpricot
Hi all,

I don't know if this is the right spot to post an error, if it's not,
let me know where to post :)

my problem is the following:
executing the following line in irb on an Ubuntu 9.10 system on an ec2
machine:
>require 'rubygems'; require 'hpricot'; Hpricot('<html><body><table><tr><td>hi</td></tr></table></body></html>').to_html
returns:
>"<html><body><table><tr><td>hi</td></tr></table></table></body></html>"

as you can see i have double end table tags.....
if the loaded string is a more complex html a lot more double end tags
appear...

i have the hpricot gem hpricot-0.8.2 installed (hpricot 0.8.1 , 0.8,
0.7, 0.6 ... did not work either)

any ideas on what's going on....

grtz,

MIscha

Reply all
Reply to author
Forward
0 new messages