= 0.8.3
=== 3 November, 2010
* GH#8: Nil-check before downcasing attribute key
* GH#25: Proper ruby 1.9 encoding support
* GH#28. Use integers instead of ?? on 1.9, which is just a string.
* including noscript to ElementInclusions , so that hpricot wont fail
when trying to parse a meta tag inside head section when noscript is
present.
* latest changes from fast_xs mainline
* Fixes to get Hpricot running on Rubinius:
* Use free, not XFREE
* Remove RSTRUCT craziness, don't break Array#at
+ Install as a Ruby gem.
* Hpricot for JRuby
* Inline Markaby for Hpricot documents.
* XML tags and attributes are no longer downcased like HTML is.
* new syntax for grabbing everything between two elements using a
Range in the s earch method: (doc/("font".."font/br")) or in nodes_at
like so: (doc/"font").nod es_at("*".."br"). Only works with either
a pair of siblings or a set of a parent and a sibling.
* Ignore self-closing endings on tags (such as form) which are
containers. Treat them like open parent tags.
* Escaping of attributes.
* Element#raw_attributes gives unescaped data. Element#attributes
gives escaped.
* Added: Elements#attr, Elements#remove_attr, Elements#remove_class.
* Added: Traverse#preceding, Traverse#following, Traverse#previous,
Traverse#next.
Hpricot is a very flexible HTML parser, based on Tanaka Akira's HTree
and John Resig's JQuery, but with the scanner recoded in C (using
Ragel for scanning).