From 3eb0f770588c19a065194d766769ab403b47f756 Mon Sep 17 00:00:00 2001 From: Alan Date: Thu, 6 Jan 2022 17:25:21 +0800 Subject: [PATCH] Roo/htmleditor/Tidy.js --- Roo/htmleditor/Tidy.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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); } -- 2.39.2