com php-src: Fix bug #62066 Test Bug - ext/tidy/tests/004.phpt: ext/tidy/tests/004.phpt
| From: | Anatoliy Belsky | Date: | Mon, 21 May 2012 10:51:24 +0000 |
| Subject: | com php-src: Fix bug #62066 Test Bug - ext/tidy/tests/004.phpt: ext/tidy/tests/004.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-69125@lists.php.net to get a copy of this message | ||
Commit: c973fef48d6302b9bcec898de8e39d8d7e23adef
Author: Matt Ficken <mattficken@php.net> Mon, 21 May 2012 12:51:24 +0200
Committer: Anatoliy Belsky <ab@php.net> Mon, 21 May 2012 12:51:24 +0200
Parents: 645d65f3e30788c0f7d88e753d90234867622a01
Branches: PHP-5.3 PHP-5.4 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=c973fef48d6302b9bcec898de8e39d8d7e23adef
Log:
Fix bug #62066 Test Bug - ext/tidy/tests/004.phpt
Bugs:
https://bugs.php.net/62066
Changed paths:
M ext/tidy/tests/004.phpt
Diff:
diff --git a/ext/tidy/tests/004.phpt b/ext/tidy/tests/004.phpt
index 7ca17c6..d13c37d 100644
--- a/ext/tidy/tests/004.phpt
+++ b/ext/tidy/tests/004.phpt
@@ -6,7 +6,7 @@ tidy_diagnose()
<?php
$a = tidy_parse_string('<HTML></HTML>');
var_dump(tidy_diagnose($a));
-echo tidy_get_error_buffer($a);
+echo str_replace("\r", "", tidy_get_error_buffer($a));
$html = <<< HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 3.2//EN">