From: Alan Date: Fri, 7 Jan 2022 04:28:45 +0000 (+0800) Subject: Roo/htmleditor/TidyWriter.js X-Git-Url: http://git.roojs.org/?p=roojs1;a=commitdiff_plain;h=e94569f18a0c48dc1ff9e9afd977beaf27f2abb8 Roo/htmleditor/TidyWriter.js --- diff --git a/Roo/htmleditor/TidyWriter.js b/Roo/htmleditor/TidyWriter.js index 23129e974d..8c29cf9d94 100644 --- a/Roo/htmleditor/TidyWriter.js +++ b/Roo/htmleditor/TidyWriter.js @@ -67,7 +67,7 @@ Roo.htmleditor.TidyWriter.prototype = { var is_short = empty ? Roo.htmleditor.TidyWriter.shortend_elements.indexOf(name) > -1 : false; - var indentstr = this.in_inline || this.in_pre ? '' : this.indentstr; + var indentstr = in_inline || this.in_pre ? '' : this.indentstr; // if this element is inline - then don't add stuff beforehand.. if (!in_inline && !this.in_pre) {