From b35a47887225d5eb0c607327cd013e9f56e862d1 Mon Sep 17 00:00:00 2001 From: SVN Migration Date: Mon, 20 Oct 2003 15:33:55 +0000 Subject: This commit was manufactured by cvs2svn to create tag 'RELEASE_1_3b3'. --- ext/tidy/examples/cleanhtml.php | 38 -------------------------------------- 1 file changed, 38 deletions(-) delete mode 100644 ext/tidy/examples/cleanhtml.php (limited to 'ext/tidy/examples/cleanhtml.php') diff --git a/ext/tidy/examples/cleanhtml.php b/ext/tidy/examples/cleanhtml.php deleted file mode 100644 index 9d054cda4f..0000000000 --- a/ext/tidy/examples/cleanhtml.php +++ /dev/null @@ -1,38 +0,0 @@ - - * - * Usage: php cleanhtml.php [filename] - * - */ - - if(!isset($_SERVER['argv'][1])) { - $data = file_get_contents("php://stdin"); - tidy_parse_string($data); - } else { - tidy_parse_file($_SERVER['argv'][1]); - } - - tidy_clean_repair(); - - if(tidy_warning_count() || - tidy_error_count()) { - - echo "\n\nThe following errors or warnings occured:\n"; - echo tidy_get_error_buffer(); - echo "\n"; - } - - echo tidy_get_output(); - -?> - - - - \ No newline at end of file -- cgit v1.2.1