summaryrefslogtreecommitdiff
path: root/ext/tidy/tests/015.phpt
blob: c5bc1dc4d3606ac7b9c3f1557afd7153f2d7ea3a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
--TEST--
Passing configuration options through tidy_parse_file().
--SKIPIF--
<?php if (!extension_loaded("tidy")) print "skip"; ?>
--FILE--
<?php
        $tidy = tidy_parse_file(__DIR__."/015.html", array('show-body-only'=>true));
    	tidy_clean_repair($tidy);
    	echo tidy_get_output($tidy);

?>
--EXPECT--
<b>testing</b>