X-Git-Url: http://git.roojs.org/?p=roojs1;a=blobdiff_plain;f=Roo%2Fhtmleditor%2FTidyWriter.js;h=a42e6db1a1fa3462f508714b5e74760b236d2661;hp=3a46ac4571a18c07ab95c1381bde8b91b4853423;hb=1a01289e010716addd494e82628fda8ec4e9f8de;hpb=55e6183e750b219b650af426b11252ac3c46f1ba 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,''); } }