[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

[ANN] hpricot 0.8

_why

4/1/2009 4:04:00 PM

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 http://code.whytheluck...

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
build.

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

_why