mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
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:
parent
7b6b665ce1
commit
b05d256d63
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
?>
|
||||
]]>
|
||||
|
|
Loading…
Reference in a new issue