<?php if (!extension_loaded("tidy")) print "skip"; ?>
--FILE--
<?php
- $a = tidy_parse_file("ext/tidy/tests/005.html");
+ $a = tidy_parse_file(dirname(__FILE__)."/005.html");
echo tidy_get_output($a);
?>
tidy.default_config=
--FILE--
<?php
- $a = new tidy("ext/tidy/tests/007.html");
+ $a = new tidy(dirname(__FILE__)."/007.html");
echo "Current Value of 'tidy-mark': ";
var_dump($a->getopt("tidy-mark"));
echo "Current Value of 'error-file': ";
<?php if (!extension_loaded("tidy")) print "skip"; ?>
--FILE--
<?php
- $tidy = new tidy("ext/tidy/tests/013.html", array("show-body-only"=>true));
+ $tidy = new tidy(dirname(__FILE__)."/013.html", array("show-body-only"=>true));
$tidy->cleanRepair();
echo $tidy;
<?php if (!extension_loaded("tidy")) print "skip"; ?>
--FILE--
<?php
- $tidy = tidy_parse_file("ext/tidy/tests/015.html", array('show-body-only'=>true));
+ $tidy = tidy_parse_file(dirname(__FILE__)."/015.html", array('show-body-only'=>true));
tidy_clean_repair($tidy);
echo tidy_get_output($tidy);
<?php if (!extension_loaded("tidy")) print "skip"; ?>
--FILE--
<?php
- $path = dirname(__FILE__);
- $tidy = tidy_parse_file("{$path}/016.html", "{$path}/016.tcfg");
+ $tidy = tidy_parse_file(dirname(__FILE__)."/016.html", dirname(__FILE__)."/016.tcfg");
tidy_clean_repair($tidy);
echo tidy_get_output($tidy);
?>