From 98b30fbad31ef19c5463cfe91aa090164853d676 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Thu, 22 Aug 2019 09:52:57 +0800 Subject: [PATCH] roojs-all.js roojs-debug.js Roo/HtmlEditorCore.js --- Roo/HtmlEditorCore.js | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) 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; }); -- 2.39.2