note 41275 deleted from ref.tidy by nlopess
| From: | nlopess@php.net | Date: | Fri, 09 Apr 2004 11:47:41 +0000 |
| Subject: | note 41275 deleted from ref.tidy by nlopess | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-67871@lists.php.net to get a copy of this message | ||
Note Submitter: aidan@php.net
----
A simple usage example:
<?php
$content = "<html><body>hi</body></html>";
$config = array(
'indent' => true,
'output-xhtml' => true
);
$tidy = tidy_parse_string($content, $config, 'UTF8');
$tidy->cleanRepair();
echo $tidy;
?>