Changes for version 3.23_4
- Move attribute name validation to as_XML. RT #60619
Changes for version 3.23_3
- Fix critic test exploding if Test::Perl::Critic isn't installed.
- Fix annoying message about x.yy_z not being numeric in t/building.t
Changes for version 3.23_2
Changes for version 3.23_1 - 2010-06-21
- THINGS THAT MAY BREAK YOUR CODE OR TESTS
- Changes to entity encoding from ord values to XML entities may break tests expecting � style encoding.
- Attribute names are now validated and invalid names will cause a parse error.
- FIXES
- Optionally empty tags with content now have close tag. (RT 49932 41806)
- Added attribute name validation. (RT 23439)
- Added span to @TAGS in AsSubs. (RT 55848)
- Changed tag encoding to human readable form, e.g. >, and stopped re-encoding encoded tags (RT 55835)
- Added no_expand_entities option to disable entity decoding when parsing source. (RT 24947)
- Fix replace_with not setting parent for an array of content. (RT 28204 45495)
- Removed newline being appended to as_HTML output. (RT 41739)
- Fix invalid parent for subsclasses. (RT 36247)
- Fixed #! line in tests (RT 41945)
- Switched to Module::Build
- Fixed Perl::Critic errors
- Added lots of use strict and use warnings
- Fix PERL_UNICODE breaking tests. (RT 28404)
- ENHANCEMENTS
- (Ricardo Signes RT 26282) The secret hack to allow elements to be created from classes other than HTML::Element has been cleaned up and documented for the benefit of TreeBuilder subclasses. q.v., HTML::TreeBuilder->element_class
- Added HTML::Element::encoded_content to control encoding of entities on output.
- TESTS
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
build and scan parse-trees of HTML
Parser that builds a HTML syntax tree