tidy.cleanrepair(3) php man page | unix.com

Man Page: tidy.cleanrepair

Operating Environment: php

Section: 3

TIDY.CLEANREPAIR(3)							 1						       TIDY.CLEANREPAIR(3)

tidy::cleanRepair - Execute configured cleanup and repair operations on parsed markup

       Object oriented style

SYNOPSIS
bool tidy::cleanRepair (void )
DESCRIPTION
Procedural style bool tidy_clean_repair (tidy $object) This function cleans and repairs the given tidy $object.
PARAMETERS
o $object - The Tidy object.
RETURN VALUES
Returns TRUE on success or FALSE on failure.
EXAMPLES
Example #1 tidy.cleanrepair(3) example <?php $html = '<p>test</I>'; $tidy = tidy_parse_string($html); $tidy->cleanRepair(); echo $tidy; ?> The above example will output: <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 3.2//EN"> <html> <head> <title></title> </head> <body> <p>test</p> </body> </html>
SEE ALSO
tidy.repairFile(3), tidy.repairString(3). PHP Documentation Group TIDY.CLEANREPAIR(3)
Related Man Pages
tidy_get_html(3) - php
tidy_getopt(3) - php
tidy.repairstring(3) - php
tidy.errorbuffer(3) - php
tidy.parsefile(3) - php
Similar Topics in the Unix Linux Community
Rules for Homework &amp; Coursework Questions Forum
UNIX.COM 2017 Year End Summary
Status of UNIX.COM Forum Transformation
Please Welcome Ravinder Singh to the Moderation Team
The Order of the Wizard's Hat - Lifetime Achievement Award 2019 - Congrats to Don Cragun