Ticket #157 (new defect)

Opened 4 months ago

Hpricot breaks on hideous form field

Reported by: kylemax Owned by: why
Priority: major Milestone:
Component: ext/hpricot_scan Version:
Keywords: Cc:

Description

doc = Hpricot(File.read("start.html"))

/opt/local/lib/ruby/gems/1.8/gems/hpricot-0.6/lib/hpricot/parse.rb:51:in `scan': ran out of buffer space on element <input>, starting on line 18. (Hpricot::ParseError?)

from /opt/local/lib/ruby/gems/1.8/gems/hpricot-0.6/lib/hpricot/parse.rb:51:in `make' from /opt/local/lib/ruby/gems/1.8/gems/hpricot-0.6/lib/hpricot/parse.rb:15:in `parse' from /opt/local/lib/ruby/gems/1.8/gems/hpricot-0.6/lib/hpricot/parse.rb:4:in `Hpricot' from (irb):1:in `irb_binding' from /opt/local/lib/ruby/1.8/irb/workspace.rb:52:in `irb_binding' from /opt/local/lib/ruby/1.8/irb/workspace.rb:52

Attachments

start.html (63.8 kB) - added by kylemax 4 months ago.
Accursed HTML

Change History

Changed 4 months ago by kylemax

Accursed HTML

Note: See TracTickets for help on using tickets.