From e7eebe74d672416ccbe0dd837d5ef3d5bda145cb Mon Sep 17 00:00:00 2001 From: Antonio Gallo Date: Sun, 13 Mar 2011 00:42:19 +0000 Subject: modified UsersController.php --- h-source/Application/Include/myFunctions.php | 3 +++ 1 file changed, 3 insertions(+) (limited to 'h-source/Application/Include') diff --git a/h-source/Application/Include/myFunctions.php b/h-source/Application/Include/myFunctions.php index 4d01851..70c0b4f 100644 --- a/h-source/Application/Include/myFunctions.php +++ b/h-source/Application/Include/myFunctions.php @@ -173,6 +173,9 @@ function htmlDiff($old, $new) $old = str_replace("\r\n"," \r\n ",$old); $new = str_replace("\r\n"," \r\n ",$new); + $old = str_replace("\n"," \n ",$old); + $new = str_replace("\n"," \n ",$new); + $ret = null; $diff = diff(removeEmptyStrings(explode(' ', $old)),removeEmptyStrings(explode(' ', $new))); foreach($diff as $k) -- cgit v1.2.3