Subject: | Missing quote problem with HTML::Tidy |
Date: | Thu, 09 Oct 2008 15:27:22 -0400 |
To: | bug-HTML-Tidy [...] rt.cpan.org |
From: | Anjali Deshpande <adeshpande [...] novator.com> |
Hello,
I tried the following script to tidy HTML that has missing end-quote and
got an incorrect answer.
use strict;
use warnings;
use HTML::Tidy;
my $html="<a href=\"mailto:test\@test.net><font size=4>Email Us</a>";
my $tidy = HTML::Tidy->new();
my $clean = $tidy->clean($html);
print "Clean HTML:\n---------------------------\n$clean\n";
I am using HTML-Tidy-1.08
<http://search.cpan.org/%7Epetdance/HTML-Tidy-1.08/>, Perl version 5.8.8
on Debian
Thanks,
Anjali