the first option in one line, the second one on two, it's ok... probably the text editor try to treat this code that in fact is javascript as if it was jade