Changes for version 3.22 - 2006-11-11
- THINGS THAT MAY BREAK YOUR CODE OR TESTS
- HTML::Element::as_XML now only escapes five characters, instead of escaping everything but alphanumerics and spaces. This is more in line with the XML spec, and will no longer escape wide characters as two (or more) entities. Resolves RT 14260. Thanks to Carl Franks and somewhere [at] confuzzled.lu for assistance.
- FIXES
- A string comparison was commented to use lc() on both sides, but didn't. This caused HTML::Element::look_down to not properly find elements in certain cases. Thanks to Andrew Suhachov. (RT 21114)
- TESTS
- Added several new tests and enhanced others. Thanks to Rocco Caputo for t/attributes.t, and several others for providing test cases in their RT bugs.
- DOCUMENTATION
- Fixed description of HTML::Element::all_attr_names. Thanks to dsteinbrunner [at] pobox.com for catching it.
- Fixed example code in HTML::Element::push_content. Thanks to dsteinbrunner [at] pobox.com for catching it. (RT 21293)
- Fixed description of HTML::Element::as_HTML. Thanks to Mark-Jason Dominus for catching it. (RT 18569)
Documentation
article: "User's View of Object-Oriented Modules"
article on tree-shaped data structures in Perl
article: "Scanning HTML"
Modules
functions that construct a HTML syntax tree
Class for objects that represent HTML elements
discussion of HTML::Element's traverse method
Deprecated, a wrapper around HTML::TreeBuilder
overview of HTML::TreeBuilder et al
Parser that builds a HTML syntax tree