$retval = $tidy->getStatus();
if ( $retval == 2 ) {
// 2 is magic number for fatal error
- // http://www.php.net/manual/en/function.tidy-get-status.php
+ // https://secure.php.net/manual/en/tidy.getstatus.php
$cleansource = null;
} else {
$cleansource = tidy_get_output( $tidy );