hi
i d like to use tidy plugin php for clean only piece of html page instead of all of the code page .
i can use
$tidy = tidy_parse_file ("my html code", $options);
tidy_clean_repa ir($tidy);
but my problem is that output above code consist of <html> in other words
output returned as a perfect page but i'd like to return only cleaned the same
input code
thanks alot
i d like to use tidy plugin php for clean only piece of html page instead of all of the code page .
i can use
$tidy = tidy_parse_file ("my html code", $options);
tidy_clean_repa ir($tidy);
but my problem is that output above code consist of <html> in other words
output returned as a perfect page but i'd like to return only cleaned the same
input code
thanks alot
Comment