note 41274 deleted from ref.tidy by vincent
| From: | vincent@php.net | Date: | Mon, 05 Apr 2004 15:39:27 +0000 |
| Subject: | note 41274 deleted from ref.tidy by vincent | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-67662@lists.php.net to get a copy of this message | ||
Note Submitter:
----
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;
?>