Roo/HtmlEditorCore.js
[roojs1] / 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;