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

People
Owner: Nobody in particular
Requestors: tom@eborcom.com (no email address)
Cc:
AdminCc:

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

Attachments


Subject: Patch: Clarify Documentation for clean()
Download (untitled) / with headers
text/plain 335b
The documentation for HTML::Tidy's clean() method doesn't describe its return value clearly. For a more precise description, see the attached patch which applies against version 1.06. In case you're interested, I describe the background for this patch in my use.perl journal: http://use.perl.org/~tomhukins/journal/27445 Thanks, Tom
Download clean-doc.patch
text/x-diff 452b
--- lib/HTML/Tidy.pm.old Fri Aug 19 15:30:54 2005 +++ lib/HTML/Tidy.pm Sun Nov 6 20:26:27 2005 @@ -241,8 +241,8 @@ Cleans a string, or list of strings, that make up a single HTML file. -Returns true if all went OK, or false if there was some problem calling -tidy, or parsing tidy's output. +Returns a string containing a cleaned version of the input strings, or +false if there was some problem calling tidy, or parsing tidy's output. =cut
Download (untitled) / with headers
text/plain 494b
Thank you, this change is in the svn repository now. On Sun Nov 06 14:33:31 2005, guest wrote: Show quoted text
> The documentation for HTML::Tidy's clean() method doesn't describe its > return value clearly. For a more precise description, see the > attached patch which applies against version 1.06. > > In case you're interested, I describe the background for this patch in > my use.perl journal: > http://use.perl.org/~tomhukins/journal/27445 > > Thanks, > Tom
-- Jonathan Rockway <jrockway@cpan.org>


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

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.