From 58ed832fc99d5c5aeac7849819bbc4e0dc90d698 Mon Sep 17 00:00:00 2001 From: Florian MARGAINE Date: Sat, 20 Sep 2014 10:03:54 +0200 Subject: Deletes patch leftovers --- ext/tidy/examples/cleanhtml.php.orig | 40 ----------------------------------- ext/tidy/examples/cleanhtml5.php.orig | 39 ---------------------------------- 2 files changed, 79 deletions(-) delete mode 100644 ext/tidy/examples/cleanhtml.php.orig delete mode 100644 ext/tidy/examples/cleanhtml5.php.orig (limited to 'ext/tidy') diff --git a/ext/tidy/examples/cleanhtml.php.orig b/ext/tidy/examples/cleanhtml.php.orig deleted file mode 100644 index 2644210cbf..0000000000 --- a/ext/tidy/examples/cleanhtml.php.orig +++ /dev/null @@ -1,40 +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 occurred:\n"; - echo tidy_get_error_buffer(); - echo "\n"; - } - - echo tidy_get_output(); - -?> - - - - \ No newline at end of file diff --git a/ext/tidy/examples/cleanhtml5.php.orig b/ext/tidy/examples/cleanhtml5.php.orig deleted file mode 100644 index 2ce683acad..0000000000 --- a/ext/tidy/examples/cleanhtml5.php.orig +++ /dev/null @@ -1,39 +0,0 @@ - - * - * Usage: php cleanhtml5.php [filename] - * - */ - - if(!isset($_SERVER['argv'][1])) { - $data = file_get_contents("php://stdin"); - $tidy = tidy_parse_string($data); - } else { - $tidy = tidy_parse_file($_SERVER['argv'][1]); - } - - $tidy->cleanRepair(); - - if(!empty($tidy->errorBuffer)) { - - echo "\n\nThe following errors or warnings occurred:\n"; - echo "{$tidy->errorBuffer}\n"; - - } - - echo $tidy; - -?> - - - - -- cgit v1.2.1