$root->store_declarations(value)
This determines whether TreeBuilder will normally
store markup declarations found while parsing content
into $root. Currently, this is off by default.
It is somewhat of a known bug (to be fixed one of
these days, if anyone needs it?) that declarations in
the preamble (before the "html" start-tag) end up
actually under the "html" element.
So that makes it a bug.
In reply to Re: HTML::TreeBuilder bug or feature?
by gam3
in thread HTML::TreeBuilder bug or feature?
by GrandFather
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |