syntaxhl icon indicating copy to clipboard operation
syntaxhl copied to clipboard

< will break text when editing

Open friedrico opened this issue 13 years ago • 0 comments

Just try to write following:

a=b->c(); for(d=1;d<5;++d){ e='<tag>\n'; if(f>=g){ q=700; } if(f<g){ q=900; } }

and then edit it with tinymce.

At least for me it will become: a=b->c(); for(d=1;d e='\n'; if(f>=g){ q=700; } if(f q=900; } }

A crippled version of the original.

Obviously its "<" resp. ">"-related - is it tinymce's fault?

edit: Sorry didnt see that the "original" code got crippled too (escaped lower/greater than signs)

friedrico avatar Aug 28 '11 19:08 friedrico