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

index 40e2b24..eed147b 100644 (file)
@@ -696,14 +696,14 @@ Roo.htmleditor.TidyEntities = {
             if (entities) {
                 return encodeCustomNamed;
             }
-            return Entities.encodeNamed;
+            return this.encodeNamed;
         }
         // Numeric
         if (name.numeric) {
-            return Entities.encodeNumeric;
+            return this.encodeNumeric;
         }
         // Raw encoder
-        return Entities.encodeRaw;
+        return this.encodeRaw;
     },
     /**
      * Decodes the specified string, this will replace entities with raw UTF characters.