Thanks for the quick reply gellyfish.
Unfortunately, it's that very method that causes the problem.
The default option in Treebuilder $tree->store_declarations(0); is to not store the declerations. When I run the program this way, the decleration is dropped altogether. When I use $tree->store_declarations(1); the doctype is inserted after the closing body tag.
Do you have any other suggestions?
-ShawnIn reply to Re^2: HTML::Treebuilder - DOCTYPE
by smaida
in thread HTML::Treebuilder - DOCTYPE
by smaida
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |