diff --git a/reference/tidy/functions/tidy-config-count.xml b/reference/tidy/functions/tidy-config-count.xml index c1538c08e2..b11e0e587d 100644 --- a/reference/tidy/functions/tidy-config-count.xml +++ b/reference/tidy/functions/tidy-config-count.xml @@ -1,5 +1,5 @@ - + tidy_config_count @@ -25,11 +25,12 @@ test'; -$config = array('foo' => 'bar'); +$config = array('doctype' => 'bogus'); $tidy = tidy_parse_string($html, $config); -echo tidy_config_count($tidy); //1 +/* This outputs 1, because 'bogus' isn't a valid doctype */ +echo tidy_config_count($tidy); ?> ]]>