php-src/ext/tidy/tests/013.phpt
2004-11-22 15:12:32 +00:00

14 lines
290 B
PHP

--TEST--
Parsing a file using constructor
--SKIPIF--
<?php if (!extension_loaded("tidy")) print "skip"; ?>
--FILE--
<?php
$tidy = new tidy(dirname(__FILE__)."/013.html", array("show-body-only"=>true));
$tidy->cleanRepair();
echo $tidy;
?>
--EXPECT--
<b>testing</b>