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

index 268f7ce..c4116cc 100644 (file)
@@ -359,7 +359,7 @@ Roo.extend(Roo.HtmlEditorCore, Roo.Component,  {
                 // See if we have a mapping for it
                  
                     // No, use a numeric entity. Here we brazenly (and possibly mistakenly)
-                    rep = "&#" + charValue + ";";
+                var rep = "&#" + charValue + ";";
                 
                 // Return replacement
                 return rep;