Passing Tidy Options at Runtime : tidy_parse_string « HTML « PHP
- PHP
- HTML
- tidy_parse_string
Passing Tidy Options at Runtime
<?php
$options = array("show-body-only" => true);
$tidy = tidy_parse_string("<B>Hello<I>World!</B></I>", $options);
echo $tidy;
?>
Related examples in the same category