Skip Menu |

This queue is for tickets about the HTML-Parser CPAN distribution.

Report information
The Basics
Id: 100
Status: resolved
Priority: 0/
Queue: HTML-Parser

People
Owner: Nobody in particular
Requestors: hermi [...] citybeat.de
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 3.25
Fixed in: (no value)



Subject: Last word is lost
If you use HTML::Parser die parse a text without opening/end tag (like <html>text</html>), the last word of the text is lost. Workaround: Set a dummy tag around the text. Easy to workaround, but cost me much time to find and handle this bug. Should be fixed.
Looks like you have forgot to call the $p->eof method after parsing has ended. This method is called automatically if you parse with the 'parse_file' method.