tidy_get_output
tidy_get_output
Return a string representing the parsed tidy markup
string **tidy_get_output** tidy $tidy
Gets a string with the repaired html.
tidytidy.object
Returns the parsed tidy markup.
Voorbeeld: example
<?php
$html = '<p>paragraph</i>';
$tidy = tidy_parse_string($html);
$tidy->cleanRepair();
echo tidy_get_output($tidy);
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 3.2//EN">
<html>
<head>
<title></title>
</head>
<body>
<p>paragraph</p>
</body>
</html>