summaryrefslogtreecommitdiff
path: root/ext/tidy/tests/015.phpt
blob: 03018ffa198fd7d429204fa91d9f20950854ca52 (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(dirname(__FILE__)."/015.html", array('show-body-only'=>true));
    	tidy_clean_repair($tidy);
    	echo tidy_get_output($tidy);
            
?>
--EXPECT--
<b>testing</b>