Hi,

I have the follwing problem while parsing a html file looking like this:

....
<td> text1 <br> text2 </td>
<td> text3 <br> text4 </td>
....

My Parser tried this:

$p->get_tag('td');
$t1 = $p->get_trimmed_text;
$p->get_tag('br');
$t2 = $p->get_trimmed_text;

When using the newest version of ActivePerl (5.6.1.632) containing
Html-Parser 3.25 or newer I get:
$t1 = "text1";
$t2 = "text2";

When putting this to my web Host which has perl 5.00502 (actually I don't
know the Html-Parser version) installed I get:
$t1 = "text1";
$t2 = "text3";

So obviously in this case the first <br> is skipped.

Is there any version conflict or how could this behaviour can be explained ?

Thanx,
Carsten.

-- 
GMX - Die Kommunikationsplattform im Internet.
http://www.gmx.net

Reply via email to