Pman.js
authorAlan Knowles <alan@akbkhome.com>
Tue, 9 Nov 2010 07:24:52 +0000 (15:24 +0800)
committerAlan Knowles <alan@akbkhome.com>
Tue, 9 Nov 2010 07:24:52 +0000 (15:24 +0800)
Pman.js

diff --git a/Pman.js b/Pman.js
index d50842b..ec0855e 100644 (file)
--- a/Pman.js
+++ b/Pman.js
@@ -857,18 +857,18 @@ Pman = new Roo.Document(
         var complete = '';
         
         function escapeDecode(encodedString) {
-          var output = encodedString;
-          var binVal, thisString;
-          var myregexp = /(&#([0-9]+);)/;
-          while ((match = myregexp.exec(output)) != null
-                     && match.length > 1
-                     && match[1] != '') {
-            //     Roo.log(match);
-            binVal = parseInt(match[2]);
-            thisString = String.fromCharCode(binVal);
-            output = output.replace(match[1], thisString);
-          }
-          return Roo.util.Format.htmlDecode( output);
+            var output = encodedString;
+            var binVal, thisString;
+            var myregexp = /(&#([0-9]+);)/;
+            while ((match = myregexp.exec(output)) != null
+                       && match.length > 1
+                       && match[1] != '') {
+              //     Roo.log(match);
+              binVal = parseInt(match[2]);
+              thisString = String.fromCharCode(binVal);
+              output = output.replace(match[1], thisString);
+            }
+            return Roo.util.Format.htmlDecode( output);
         }