Always collapse embedded newlines

I had added the code inside an "if" block by mistake.