Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

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

Report information
The Basics
Id: 11966
Status: resolved
Priority: 0/
Queue: HTML-Tidy

Owner: Nobody in particular
Requestors: ross.girshick [...]

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

Subject: _is_keeper assumes its argument is a HTML::Tidy::Message
Download (untitled) / with headers
text/plain 675b
Distribution: source code Perl version: N/A OS vender/version: N/A In this snippet from HTML::Tidy::parse ... } else { warn "Unknown error type: $line"; ++$parse_errors; } push( @{$self->{messages}}, $message ) if $self->_is_keeper( $message ... If an unrecognized line triggers the parse error case, then the undefined $message variable is passed to _is_keeper. _is_keeper assumes that it's getting a HTML::Tidy::Message object, which it's not. Thus when it trys to call Message::text or Message::type an undefined method error is thrown. A simple fix is to just verify that _is_keeper's argument is a HTML::Tidy::Message.
Fixed long ago. Thanks.

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to