From 3e16e46c78c78be4f5df2fdd24ebaa81f46845eb Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Tue, 9 Nov 2010 15:24:52 +0800 Subject: [PATCH] Pman.js --- Pman.js | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/Pman.js b/Pman.js index d50842b5..ec0855e3 100644 --- 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); } -- 2.39.2