This is a returning issue that I tried to live with, but keeps flying in my face.
Definately not understandable or user friendly.
Likely caused by copy pasting soft/hard line endings, but I think the editor should take care of this automatically.
Here an empty line or even simply a new line, would be expected to turn into a header without problems. Instead, this happens: