Roo/htmleditor/TidyEntities.js
authorAlan <alan@roojs.com>
Thu, 6 Jan 2022 08:56:04 +0000 (16:56 +0800)
committerAlan <alan@roojs.com>
Thu, 6 Jan 2022 08:56:04 +0000 (16:56 +0800)
Roo/htmleditor/TidyEntities.js

index 8a664a9..5e7ed20 100644 (file)
@@ -673,7 +673,7 @@ Roo.htmleditor.TidyEntities = {
      * @return {function} Encode function to be used.
      */
     getEncodeFunc: function(name, entities) {
-        entities = buildEntitiesLookup(entities) || namedEntities;
+        entities = this.buildEntitiesLookup(entities) || this.namedEntities;
 
         function encodeNamedAndNumeric(text, attr) {
             return text.replace(attr ? attrsCharsRegExp : textCharsRegExp, function(chr) {