From: Alan Date: Thu, 6 Jan 2022 09:25:21 +0000 (+0800) Subject: Roo/htmleditor/Tidy.js X-Git-Url: http://git.roojs.org/?p=roojs1;a=commitdiff_plain;h=3eb0f770588c19a065194d766769ab403b47f756 Roo/htmleditor/Tidy.js --- diff --git a/Roo/htmleditor/Tidy.js b/Roo/htmleditor/Tidy.js index b4489d9320..00af29c2f9 100644 --- a/Roo/htmleditor/Tidy.js +++ b/Roo/htmleditor/Tidy.js @@ -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); }