diff --git a/core/trunk/core/tests/class/ViewController.php b/core/trunk/core/tests/class/ViewController.php
index 7d99d345e11967c26d8ab4b37a868f5c90470769..0a5248ea388491e48809b4a982d27a5c198c616f 100644
--- a/core/trunk/core/tests/class/ViewController.php
+++ b/core/trunk/core/tests/class/ViewController.php
@@ -333,7 +333,7 @@ class ViewController
                 $nodeName = $node->name;
                 break;
             }
-            $nodeValue = (string)$node->nodeValue;
+            $nodeValue = $node->nodeValue;
             // Name of property
             $viewElement = 
                 $this->getElementById(
@@ -359,10 +359,7 @@ class ViewController
     function loadProperty(
         $viewElement,
         $value
-    ) {
-        // Replace CR/LF by <br/>
-        $value = preg_replace("/(\r\n|\n|&#xD;)/", '<br/>', $value);
-        
+    ) {       
         switch($viewElement->tagName) {
         case 'input':
             switch($viewElement->getAttribute('type')) {