php-src/ext/tidy/tests/009.phpt
John Coggeshall 6048907029 With the approval of Andi, changing the Tidy API to reduce the possible
amount of confusion when setting Tidy configuration options. All
configuration must now be done pre-parsing of the document. Removed
references to the tidy_attr class, as it is no longer used (since tidy 2.0)
and made tidy throw exceptions for all truly non-fatal errors.
2004-01-14 02:43:33 +00:00

22 lines
279 B
PHP

--TEST--
tidy_doc object overloading
--SKIPIF--
<?php if (!extension_loaded("tidy")) print "skip"; ?>
--POST--
--GET--
--INI--
--FILE--
<?php
$a = tidy_parse_string("<HTML></HTML>");
echo $a;
?>
--EXPECT--
<html>
<head>
<title></title>
</head>
<body>
</body>
</html>