summaryrefslogtreecommitdiff
path: root/ext/tidy/tests/016.phpt
blob: 9b9718ec25937ff8540feaa3da62808727659f09 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
--TEST--
Passing configuration file through tidy_parse_file() (may fail with buggy libtidy)
--SKIPIF--
<?php if (!extension_loaded("tidy")) print "skip"; ?>
--FILE--
<?php
        $tidy = tidy_parse_file(__DIR__."/016.html",
                                __DIR__."/016.tcfg");
        $cfg = $tidy->getConfig();
        echo $cfg["clean"];
?>
--EXPECT--
1