mirror of
https://github.com/php/php-src.git
synced 2024-10-21 00:12:34 +00:00
14 lines
358 B
Plaintext
14 lines
358 B
Plaintext
|
--TEST--
|
||
|
Passing configuration options through tidy_parse_string().
|
||
|
--SKIPIF--
|
||
|
<?php if (!extension_loaded("tidy")) print "skip"; ?>
|
||
|
--FILE--
|
||
|
<?php
|
||
|
$text = "<B>testing</I>";
|
||
|
$tidy = tidy_parse_string($text, array('show-body-only'=>true));
|
||
|
tidy_clean_repair($tidy);
|
||
|
echo tidy_get_output($tidy);
|
||
|
|
||
|
?>
|
||
|
--EXPECT--
|
||
|
<b>testing</b>
|