See this discussion (with a workaround). You are not the first nor the only one to complain about this problem, which is due to strict application of XHTML standards.

Joseph
I always use the HTML editor and I do not have this problem. You might also enable the HTML editor and, when you notice weird line formatting, toggle to the HTML Source just to check things.
Joseph