I recreated a problem in my program in a small code sample. The code below
is giving me the following output at the console and I have no idea why:

Output:
line 1áline 3

I am seeing a lower case 'a' with an acute accent between 'line 1' and 'line
3'. Any idea what is going on?

use strict;
use warnings;
use HTML::TokeParser;

my $p = HTML::TokeParser->new(*DATA) or die "Can't open: $!";
while (my $tag = $p->get_tag())
{
    print $p->get_trimmed_text() if ($tag->[0] eq "dd")
}

__END__
__DATA__
<DD>line 1</DD>
<DD>&nbsp;</DD>
<DD>line 3</DD>



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to