Permalink
Browse files

- Merge [3828].

  • Loading branch information...
1 parent 13c5165 commit 1bfb4a6876a2d34b45a088e3f765fa9e75359c8a @sebastianbergmann committed Oct 5, 2008
Showing with 2 additions and 2 deletions.
  1. +1 −1 PHPUnit/TextUI/TestRunner.php
  2. +1 −1 PHPUnit/Util/Printer.php
@@ -503,7 +503,7 @@ protected function runFailed($message)
protected static function write($buffer)
{
if (php_sapi_name() != 'cli') {
- $buffer = htmlentities($buffer);
+ $buffer = htmlspecialchars($buffer);
}
print $buffer;
View
@@ -162,7 +162,7 @@ public function write($buffer)
}
} else {
if (php_sapi_name() != 'cli') {
- $buffer = htmlentities($buffer);
+ $buffer = htmlspecialchars($buffer);
}
print $buffer;

0 comments on commit 1bfb4a6

Please sign in to comment.