Fix tidy->html() example to use the instance instead of calling statically.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@282472 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Joey Smith 2009-06-20 16:02:40 +00:00
parent 7b6b665ce1
commit b05d256d63

View file

@ -1,5 +1,5 @@
<?xml version='1.0' encoding='utf-8'?>
<!-- $Revision: 1.3 $ -->
<!-- $Revision: 1.4 $ -->
<refentry xml:id="tidy.html" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>tidy::html</refname>
@ -67,7 +67,7 @@ $html = '
$tidy = tidy_parse_string($html);
$html = $tidy::html($tidy);
$html = $tidy->html();
echo $html->value;
?>
]]>