note 88014 added to function.tidy-clean-repair
| From: | james at anoveta dot co dot il | Date: | Tue, 06 Jan 2009 10:16:35 +0000 |
| Subject: | note 88014 added to function.tidy-clean-repair | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-148879@lists.php.net to get a copy of this message | ||
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 );
}
?>
----
Server IP: 92.48.74.199
Probable Submitter: 84.92.224.196
----
Manual Page -- http://www.php.net/manual/en/function.tidy-clean-repair.php
Edit -- https://master.php.net/note/edit/88014
Del: integrated -- https://master.php.net/note/delete/88014/integrated
Del: useless -- https://master.php.net/note/delete/88014/useless
Del: bad code -- https://master.php.net/note/delete/88014/bad+code
Del: spam -- https://master.php.net/note/delete/88014/spam
Del: non-english -- https://master.php.net/note/delete/88014/non-english
Del: in docs -- https://master.php.net/note/delete/88014/in+docs
Del: other reasons-- https://master.php.net/note/delete/88014
Reject -- https://master.php.net/note/reject/88014
Search -- https://master.php.net/manage/user-notes.php