Forum: Ruby hpricot 0.8

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
_why (Guest)
on 2009-04-01 20:04
(Received via mailing list)
Incident to one urgent bug and many good speed/memory improvements,
here's a new release of Hpricot, a little and flexible HTML parser.

  gem install hpricot --source

Should appear on Rubyforge soon.

The urgent bug was a problem with <script> and <style> tags. If
Hpricot encounters any kind of a tag inside a <script> or <style>
block, it could cause the parser to treat those as real tags (even
tags which are quoted.) As you can imagine, this causes problems
with pages that use document.write, and I can't stand for that.

I'm still doing a lot of work to trim down Hpricot's memory use.
The first part of this is to use an RStruct-based mechanism for
storing elements in memory, a change which is included in this

Okay, nothing more to add, that's it.

This topic is locked and can not be replied to.