develooper Front page | perl.libwww | Postings from January 2001

possible bug in HTML::Parser comment handler

Thread Next
From:
Dave
Date:
January 11, 2001 13:56
Subject:
possible bug in HTML::Parser comment handler
Message ID:
Pine.LNX.4.21.0101111526120.12491-100000@meatloop.andover.net

It seems that the parser is not properly detecting multi-line HTML
comments.  I was trying to print out the dtext of a html document and
noticed that comments kept showing up in the output.  Upon further
examination, the single line comments were being ignored but ones like
this:

<!--
td {font-family: Arial,Geneva,Helvetica,sans-serif; color: #000000;}
-->

were appearing in the dtext.  Is this a bug in the module or a bug in the
user?  I am using the debian package

ii  libhtml-parser 3.15-1         A collection of modules that parse HTML text

Thanks!
	dave

---

Do you walk to school, or bring your lunch?


Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About