Query: tidy_clean_repair
OS: php
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
TIDY_CLEAN_REPAIR(3) 1 TIDY_CLEAN_REPAIR(3) tidy::cleanRepair - Execute configured cleanup and repair operations on parsed markup Object oriented styleSYNOPSISbool tidy::cleanRepair (void )DESCRIPTIONProcedural style bool tidy_clean_repair (tidy $object) This function cleans and repairs the given tidy $object.PARAMETERSo $object - The Tidy object.RETURN VALUESReturns TRUE on success or FALSE on failure.EXAMPLESExample #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 ALSOtidy.repairFile(3), tidy.repairString(3). PHP Documentation Group TIDY_CLEAN_REPAIR(3)
Related Man Pages |
---|
tidy_parse_string(3) - php |
tidy_get_error_buffer(3) - php |
tidy_get_head(3) - php |
tidy_get_html(3) - php |
tidy_getopt(3) - php |
Similar Topics in the Unix Linux Community |
---|
Rules for Homework & Coursework Questions Forum |
UNIX.COM 2017 Year End Summary |
Coming Soon: Upgrade Forum Software (Dec 31 - Jan 1) |
Denial Of Service Attack Update |