--TEST-- Ensure tidy_get_status() returns correct status --CREDITS-- Stefan Priebsch --EXTENSIONS-- tidy --FILE--
paragraph
'; $tidy = tidy_parse_string($html); echo tidy_get_status($tidy); // status 0 indicates no errors or warnings $html = 'paragraph';
$tidy = tidy_parse_string($html);
echo tidy_get_status($tidy);
// status 1 indicates warnings
$html = '