note 88014 deleted from function.tidy-clean-repair by danbrown
| From: | danbrown@php.net | Date: | Mon, 04 May 2009 12:59:08 +0000 |
| Subject: | note 88014 deleted from function.tidy-clean-repair by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-154187@lists.php.net to get a copy of this message | ||
Note Submitter: james at anoveta dot co dot il
----
Note that if using this inside a method, you need to return the tidied HTML as below:
<?php
public function getTidyPage()
{
$tidy = new tidy();
$tidy->parseString( $content );
$tidy->cleanRepair();
return tidy_get_output( $tidy );
}
?>