From: Henry Maddocks Date: 2006-12-17T18:55:48+09:00 Subject: hpricot problem --Apple-Mail-2--936423797 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Sorry, try again... Not sure where to send this, sorry if it's not the right place... The html in the attached file renders 'correctly' in the 3 browsers I have tried but it tricks hpricot because of the second malformed comment. When I say correctly I mean I get to see 'Some text'. I guess it could be argued that this is incorrect. For my application it would be nice if hpricot behaved like a browser. Henry --Apple-Mail-2--936423797 Content-Transfer-Encoding: 7bit Content-Type: text/x-ruby-script; x-mac-type=54455854; x-unix-mode=0644; x-mac-creator=522A6368; name=hpricot_comment_test.rb Content-Disposition: attachment; filename=hpricot_comment_test.rb require 'rubygems' require 'hpricot' html = <