0
On a project I’m working on in my current job, I came across some problems that are really giving me a headache:
Follows code line of the file TransformDoc.inc.php
public function validatorXHTML()
{
ob_start();
?>
<html>a html document</html>
<?php
$html = ob_get_clean();
// Specify configuration
$config = array(
'indent' => true,
'output-xhtml' => true,
'wrap' => 200);
// Tidy
$tidy = new tidy; //Linha 315(ERRO)
$tidy->parseString($html, $config, 'utf8');
$tidy->cleanRepair();
// Output
echo $tidy;
}
Line 315:
$Tidy = new Tidy;