Skip to content

Commit

Permalink
- Merge [3828].
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastianbergmann committed Oct 5, 2008
1 parent 13c5165 commit 1bfb4a6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion PHPUnit/TextUI/TestRunner.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion PHPUnit/Util/Printer.php
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ public function write($buffer)
}
} else {
if (php_sapi_name() != 'cli') {
$buffer = htmlentities($buffer);
$buffer = htmlspecialchars($buffer);
}

print $buffer;
Expand Down

0 comments on commit 1bfb4a6

Please sign in to comment.