roojs-all.js
authorAlan Knowles <alan@roojs.com>
Thu, 22 Aug 2019 01:52:57 +0000 (09:52 +0800)
committerAlan Knowles <alan@roojs.com>
Thu, 22 Aug 2019 01:52:57 +0000 (09:52 +0800)
roojs-debug.js
Roo/HtmlEditorCore.js

Roo/HtmlEditorCore.js

index c4116cc..7eb3f03 100644 (file)
@@ -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;
             });