From: Alan Knowles Date: Thu, 22 Aug 2019 01:52:57 +0000 (+0800) Subject: roojs-all.js X-Git-Url: http://git.roojs.org/?p=roojs1;a=commitdiff_plain;h=98b30fbad31ef19c5463cfe91aa090164853d676 roojs-all.js roojs-debug.js Roo/HtmlEditorCore.js --- diff --git a/Roo/HtmlEditorCore.js b/Roo/HtmlEditorCore.js index c4116cc2f6..7eb3f03f1d 100644 --- a/Roo/HtmlEditorCore.js +++ b/Roo/HtmlEditorCore.js @@ -355,14 +355,11 @@ Roo.extend(Roo.HtmlEditorCore, Roo.Component, { // Not a surrogate pair, the value *is* the Unicode code point charValue = match.charCodeAt(0); } - - // See if we have a mapping for it - - // No, use a numeric entity. Here we brazenly (and possibly mistakenly) - var rep = "&#" + charValue + ";"; + + // No, use a numeric entity. Here we brazenly (and possibly mistakenly) + return "&#" + charValue + ";"; + - // Return replacement - return rep; });