Return to 015.phpt CVS log | Up to [ELWIX - Embedded LightWeight unIX -] / embedaddon / php / ext / tidy / tests |
1.1 misho 1: --TEST-- 2: Passing configuration options through tidy_parse_file(). 3: --SKIPIF-- 4: <?php if (!extension_loaded("tidy")) print "skip"; ?> 5: --FILE-- 6: <?php 7: $tidy = tidy_parse_file(dirname(__FILE__)."/015.html", array('show-body-only'=>true)); 8: tidy_clean_repair($tidy); 9: echo tidy_get_output($tidy); 10: 11: ?> 12: --EXPECT-- 13: <b>testing</b>