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

index b4489d9..00af29c 100644 (file)
@@ -29,13 +29,13 @@ Roo.htmleditor.Tidy.prototype = {
      */
     core : false,
     
-
     
     tidy : function(node, indent) {
-        new Roo.htmleditor.TidySerializer({
+        var ser = new Roo.htmleditor.TidySerializer({
             indent : 2,
         });
-        
+        return ser.serialize(node);
          
     
     }