note 41274 added to ref.tidy
| From: | php-general at lists dot php dot net | Date: | Mon, 05 Apr 2004 12:56:47 +0000 |
| Subject: | note 41274 added to ref.tidy | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-67649@lists.php.net to get a copy of this message | ||
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;
?>
----
Manual Page -- http://www.php.net/manual/en/ref.tidy.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+41274
Delete -- http://master.php.net/manage/user-notes.php?action=delete+41274&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+41274&report=yes
Search -- http://master.php.net/manage/user-notes.php