From 69f8dfc2be1c4ca90ae51660b8e4d30e71baac5c Mon Sep 17 00:00:00 2001 From: Alan Date: Fri, 7 Jan 2022 12:27:25 +0800 Subject: [PATCH] Roo/htmleditor/TidyWriter.js --- Roo/htmleditor/TidyWriter.js | 1 + 1 file changed, 1 insertion(+) diff --git a/Roo/htmleditor/TidyWriter.js b/Roo/htmleditor/TidyWriter.js index bfcb7cfb2a..23129e974d 100644 --- a/Roo/htmleditor/TidyWriter.js +++ b/Roo/htmleditor/TidyWriter.js @@ -69,6 +69,7 @@ Roo.htmleditor.TidyWriter.prototype = { var indentstr = this.in_inline || this.in_pre ? '' : this.indentstr; + // if this element is inline - then don't add stuff beforehand.. if (!in_inline && !this.in_pre) { this.addLine(); } -- 2.39.2