Roo/htmleditor/TidyWriter.js
authorAlan <alan@roojs.com>
Fri, 7 Jan 2022 04:28:45 +0000 (12:28 +0800)
committerAlan <alan@roojs.com>
Fri, 7 Jan 2022 04:28:45 +0000 (12:28 +0800)
Roo/htmleditor/TidyWriter.js

index 23129e9..8c29cf9 100644 (file)
@@ -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) {