From: Alan Date: Fri, 7 Jan 2022 04:27:25 +0000 (+0800) Subject: Roo/htmleditor/TidyWriter.js X-Git-Url: http://git.roojs.org/?p=roojs1;a=commitdiff_plain;h=69f8dfc2be1c4ca90ae51660b8e4d30e71baac5c Roo/htmleditor/TidyWriter.js --- 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(); }