in reply to HTML::TreeBuilder dropping end tags

Are you talking about the html generated by the as_HTML method of your TreeBuilder object? If so, then read about as_HTML in the HTML::Element doc. There are some optional args, and the one that affects you is the third. You'll probably want to call it as
$tree->as_HTML( undef, ' ', {} );

Replies are listed 'Best First'.
Re^2: HTML::TreeBuilder dropping end tags
by admiral_grinder (Pilgrim) on Jul 13, 2005 at 19:41 UTC
    Thanks for pointing that out to me. I updated the original post with a section explaining why didn't work right.