Tidy Functions tidy
&reftitle.intro; Tidy is a binding for the Tidy HTML clean and repair utility which allows you to not only clean and otherwise manipulate HTML documents, but also traverse the document tree.
&reftitle.required; To use Tidy, you will need libtidy installed, available on the tidy homepage &url.tidy;.
&reference.tidy.configure; &reference.tidy.ini;
&reftitle.resources; &no.resource;
&reference.tidy.constants;
&reftitle.examples; This simple example shows basic Tidy usage. Basic Tidy usage a html document true, 'output-xhtml' => true, 'wrap' => 200); // Tidy $tidy = new tidy; $tidy->parseString($html, $config, 'utf8'); $tidy->cleanRepair(); // Output echo $tidy; ?> ]]>
&reference.tidy.functions;