#1239: do {} while () is getting broken when compressed
------------------------------------+---------------------------------------
  Reporter:  fredck                 |       Owner:           
      Type:  Bug                    |      Status:  new      
  Priority:  Normal                 |   Milestone:           
 Component:  Project : FCKpackager  |     Version:           
Resolution:                         |    Keywords:  Confirmed
------------------------------------+---------------------------------------
Comment (by w.olchawa):

 #1239 has been marked as DUP

 Actually not only ''while'' and ''do'' messes up the code. As mentioned in
 #1239 also ''finally'' adds a semi-colon.  In my test ''for'' did the
 trick as well.

 Input:
 {{{
 do
 {
 }
 while
 {
 }
 finally
 {
 }
 for
 {
 }
 }}}

 Output:
 {{{
 do{};while{};finally{};for{};
 }}}

-- 
Ticket URL: <http://dev.fckeditor.net/ticket/1239#comment:3>
FCKeditor <http://www.fckeditor.net>
The text editor for Internet
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
FCKeditor-Trac mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fckeditor-trac

Reply via email to