http://www.perlmonks.org?node_id=474111


in reply to Re^2: HTML::Treebuilder - DOCTYPE
in thread HTML::Treebuilder - DOCTYPE

Yes, my point was that the documentation indicates that what you are seeing is a bug and invites patches. To be honest you are probably best doing something like stripping the declaration off the returned HTML and sticking it back on the front yourself.

/J\