I had this hideous bug in on of my rjs templates. The bug was in this line:
page[:login].visual_effect :blind_down
now, most of you (who know rjs) will think that's a perfectly good line. However, there is a bug in it. That line gets converted to this javascript:
The real solution would be to highlight that as an invalid.illegal space in the grammar file when it's in that position (Only allow spaces) But might be pretty hard to do depending on how the grammar is laid out and the syntax and such. (Which I don't know for JS)