Files | Admin

Notes:

Release Name: 0.4

Notes:
Hpricot is a fast, flexible HTML parser written in C.  It's designed to be very
accomodating (like Tanaka Akira's HTree) and to have a very helpful library (like
some JavaScript libs -- JQuery, Prototype -- give you.)


Changes: = 0.4 === 11th August, 2006 * The :fixup_tags option will try to sort out the hierarchy so elements end up with the right parents. * Elements such as *script* and *style* (identified as having CDATA contents) receive a single text node as their children now. Previously, Hpricot was parsing out tags found in scripts. * Better scanning of partially quoted attributes (found by Brent Beardsly on http://uswebgen.com/) * Better scanning of unquoted attributes -- thanks to Aaron Patterson for the test cases! * Some tags were being output in the empty tag style, although browsers hated that. FIXED! * Added Elements#at for finding single elements. * Added Elem::Trav#[] and Elem::Trav#[]= for reading and writing attributes.