Permalink
Browse files

Fix TRAC-1030.

  • Loading branch information...
sebastianbergmann committed Apr 7, 2010
1 parent bae0bdf commit f84195c9f830831f6f0091a7e2b9709d69f895e0
Showing with 5 additions and 0 deletions.
  1. +4 −0 PHPUnit/Util/XML.php
  2. +1 −0 README.markdown
View
@@ -238,6 +238,10 @@ public static function load($actual, $isHtml = FALSE, $filename = '')
*/
public static function nodeToText(DOMNode $node)
{
+ if ($node->childNodes->length == 1) {
+ return $node->nodeValue;
+ }
+
$result = '';
foreach ($node->childNodes as $childNode) {
View
@@ -10,6 +10,7 @@ PHPUnit 3.4.12
* Fixed TRAC-1013: `Undefined index: _ENV` running supplied tests.
* Fixed TRAC-1016: Usage of `{}` to access string offsets is deprecated.
* Fixed TRAC-1021: Depending on a test that uses a data provider does not work.
+* Fixed TRAC-1030: Selenese tests cause double escaping of Selenium actions and arguments.
PHPUnit 3.4.11
--------------

0 comments on commit f84195c

Please sign in to comment.