Em um projeto que estou trabalhando no meu trabalho atual, deparei com alguns problemas que realmente estão dando dor de cabeça:
Segue linha de código do arquivo 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;
}
Linha 315:
$tidy = new tidy;