in reply to XML::Twig parse html trouble
I found workaround and report here. XML::Twig use HTML::TreeBuilder for parsing HTML by default. In my case, installing HTML::Tidy and enabling "use_tidy" option solved my problem.