Roo/htmleditor/TidyWriter.js
authorAlan <alan@roojs.com>
Thu, 6 Jan 2022 09:23:25 +0000 (17:23 +0800)
committerAlan <alan@roojs.com>
Thu, 6 Jan 2022 09:23:25 +0000 (17:23 +0800)
Roo/htmleditor/TidyWriter.js

index c0e3500..ca2bf4a 100644 (file)
@@ -16,8 +16,8 @@ Roo.htmleditor.TidyWriter = function(settings)
     this.encode = Roo.htmleditor.TidyEntities.getEncodeFunc(settings.entity_encoding || 'raw', settings.entities);
     this.htmlOutput = 'html' == settings.element_format;
 }
-Roo.apply(Roo.htmleditor.TidyWriter,
-{
+Roo.htmleditor.TidyWriter.prototype = {
+
 
 
     makeMap : function (items, delim, map) {
@@ -150,4 +150,4 @@ Roo.apply(Roo.htmleditor.TidyWriter,
         return this.html.join('').replace(/\n$/, '');
     }
 
-});
\ No newline at end of file
+};
\ No newline at end of file