$tidy = tidy_parse_string("This is a simple, but malformed HTML Document"); tidy_clean_repair($tidy); echo $tidy;?>