Annotation of embedaddon/php/ext/tidy/tests/014.phpt, revision 1.1.1.1

1.1       misho       1: --TEST--
                      2: Passing configuration options through tidy_parse_string().
                      3: --SKIPIF--
                      4: <?php if (!extension_loaded("tidy")) print "skip"; ?>
                      5: --FILE--
                      6: <?php
                      7:         $text = "<B>testing</I>";
                      8:        $tidy = tidy_parse_string($text, array('show-body-only'=>true));
                      9:        tidy_clean_repair($tidy);
                     10:        echo tidy_get_output($tidy);
                     11:             
                     12: ?>
                     13: --EXPECT--
                     14: <b>testing</b>

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>