diff options
author | Antonio Gallo <tonicucoz@gmail.com> | 2011-03-13 00:42:19 +0000 |
---|---|---|
committer | Antonio Gallo <tonicucoz@gmail.com> | 2011-03-13 00:42:19 +0000 |
commit | e7eebe74d672416ccbe0dd837d5ef3d5bda145cb (patch) | |
tree | 8537aedac5ada02578e37c429b788adcaefc5c35 /h-source/Application/Include | |
parent | c6e6d09dba4bb4807e5c6b4f8d23954019c6b38d (diff) |
modified UsersController.php
Diffstat (limited to 'h-source/Application/Include')
-rw-r--r-- | h-source/Application/Include/myFunctions.php | 3 |
1 files changed, 3 insertions, 0 deletions
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) |