Yeah, this issue has been brought up a few times... the only thing you can do now is not use the code editor if you code has a < character in it (it sometimes screws up the same way with a less than operator, like for (int i = 0; i<5;i++) .
The other option is to use the code editor, then edit the HTML manually to fix it by clicking the HTML image: 