]> granicus.if.org Git - php/commitdiff
Fix bug #62066 Test Bug - ext/tidy/tests/004.phpt
authorMatt Ficken <mattficken@php.net>
Mon, 21 May 2012 10:51:24 +0000 (12:51 +0200)
committerAnatoliy Belsky <ab@php.net>
Mon, 21 May 2012 10:51:24 +0000 (12:51 +0200)
ext/tidy/tests/004.phpt

index 7ca17c6d95f3ec72bda9d41b6e5b5101567b2a45..d13c37dcd8e385432471f89ac4d38d170b2c631d 100644 (file)
@@ -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">