php-src/ext/tidy/tests/013.phpt

14 lines
290 B
Plaintext
Raw Normal View History

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