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: 38572
Status: resolved
Priority: 0/
Queue: HTML-Tidy

People
Owner: Nobody in particular
Requestors: vegitron [...] gmail.com
Cc:
AdminCc:

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



Subject: HTML::Tidy patch
Date: Mon, 18 Aug 2008 21:12:45 -0700
To: bug-html-tidy [...] rt.cpan.org
From: "Patrick Michaud" <vegitron [...] gmail.com>
Hello, I've put together a patch to HTML::Tidy 1.08 to squelch a warning when running this code: #!/usr/bin/perl use strict; use warnings; use HTML::Tidy; my $tidy = HTML::Tidy->new(); my $clean = $tidy->clean("no html tags"); output: Unknown error type: line 1 column 1 - Info: <head> previously mentioned at test.pl line 9 Here's the diff: 267a268,271 Show quoted text
> elsif ( $line =~ m/^line [\d]+ column [\d]+ - Info:/ ) { > # Info line we don't want > > }
thanks! Patrick A Michaud
Subject: Re: [rt.cpan.org #38572] HTML::Tidy patch
Date: Mon, 18 Aug 2008 23:23:16 -0500
To: bug-HTML-Tidy [...] rt.cpan.org
From: Andy Lester <andy [...] petdance.com>
HTML::Tidy is getting overhauled entirely, so patches don't have any point right now. :-/ If you're interested in the overhaul, http://code.google.com/p/html-tidy/ xoa -- Andy Lester => andy@petdance.com => www.petdance.com => AIM:petdance
This has been folded into the current HTML::Tidy. Thanks, Patrick.