in reply to Re^2: Losing <br/> tags after parsing with HTML::TreeBuilder
in thread Losing <br/> tags after parsing with HTML::TreeBuilder

The size shouldn't matter, but the contents might. Try removing parts of the file and check whether the behaviour stays, try to get the smallest possible file that still shows the symptoms.

map{substr$_->[0],$_->[1]||0,1}[\*||{},3],[[]],[ref qr-1,-,-1],[{}],[sub{}^*ARGV,3]

Replies are listed 'Best First'.
Re^4: Losing <br/> tags after parsing with HTML::TreeBuilder
by Markismus (Acolyte) on Jun 05, 2025 at 11:11 UTC

    Found it! I was looking at reloaded intermediate data! Normally, they are turned off if testing is on, but....wrote those lines late last night and forgot about them.

    Thank you very much for the help. I wouldn't have found it if I hadn't written tests after your replies that TreeBuilder wasn't responsible.