X-Git-Url: http://git.roojs.org/?p=roojs1;a=blobdiff_plain;f=Roo%2Fhtmleditor%2FTidyWriter.js;h=5541b93cc3f99d6ddf5c021390f6ee55c5d0d339;hp=4dad02be8b7496a606f869af9382b3370c75550e;hb=aa9faaca441d6008ee5cd75a3d250ae93bed2b95;hpb=8ba4a1f9de1fd281e89367acf15104e6f72cf98b diff --git a/Roo/htmleditor/TidyWriter.js b/Roo/htmleditor/TidyWriter.js index 4dad02be8b..5541b93cc3 100644 --- a/Roo/htmleditor/TidyWriter.js +++ b/Roo/htmleditor/TidyWriter.js @@ -5,7 +5,7 @@ * * Known issues? * - not tested much with 'PRE' formated elements. - * - BR insined inline? + * - long text inside of inline can be wrapped and clened? * * */ @@ -95,8 +95,9 @@ Roo.htmleditor.TidyWriter.prototype = { } else { this.html[this.html.length] = '>'; } + var e_inline = name == 'BR' ? false : this.in_inline; - if (!this.in_inline && !this.in_pre) { + if (!e_inline && !this.in_pre) { this.addLine(); } return;