From 1a01289e010716addd494e82628fda8ec4e9f8de Mon Sep 17 00:00:00 2001 From: Alan Date: Fri, 7 Jan 2022 15:17:12 +0800 Subject: [PATCH] Roo/htmleditor/TidyWriter.js --- Roo/htmleditor/TidyWriter.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Roo/htmleditor/TidyWriter.js b/Roo/htmleditor/TidyWriter.js index 3a46ac4571..a42e6db1a1 100644 --- a/Roo/htmleditor/TidyWriter.js +++ b/Roo/htmleditor/TidyWriter.js @@ -225,7 +225,7 @@ Roo.htmleditor.TidyWriter.prototype = { node.previousSibling.nodeType == 1 && node.previousSibling.nodeName == 'BR' ) { - text = text.replace(/^\s+/g,''); + text = this.indentstr + text.replace(/^\s+/g,''); } } -- 2.39.2