Skip Menu |

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

Report information
The Basics
Id: 7251
Status: new
Priority: 0/
Queue: HTML-Sanitizer

People
Owner: Nobody in particular
Requestors: frost [...] zulio.com
Cc:
AdminCc:

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



Subject: Presumed mistake in README; possible bug in test suite or in code as well.
Hello. First off I'd just like to point out what I believe is a mistake in the README file of HTML::Sanitizer 0.4. Specificially, it says: This module requires these other modules and libraries: HTML::TreeParser I believe that should be HTML::TreeBuilder and/or HTML::Parser. I was unable to find a module named HTML::TreeParser. The next thing appears to be a bug but I'm just starting to investigate. When I run make test I get this failure: t/03security.....# Failed test (t/03security.t at line 35) # got: '<p>unsafe</p>' # expected: '<p>unsafe</p>&lt;script' # Failed test (t/03security.t at line 40) # got: '' # expected: '&lt;p attr_ok=&quot;test&gt;unsafe&lt;/p&gt;' # Looks like you failed 2 tests of 4. t/03security.....dubious Test returned status 2 (wstat 512, 0x200) DIED. FAILED tests 3-4 I believe everything is up-to-date and happy with my Perl installation. This was using Perl 5.8.4 on Red Hat Linux 9, built from source, with all other modules installed via CPAN. Cheers. - K. Frost