Why does Blogger alter my HTML post's body and remove breaks? My blog post looks like it's all bunched together. Read on to see the cause of this problem and how to fix it.
I have 'Press "Enter" for line breaks' radio button selected under 'Line breaks' in Options.
I realized that my post has the following line of code:
It turns out that if my HTML contains self-closing tags or is not well-formed, meaning there is unclosed HTML tag or incorrectly nested HTML tags, then Blogger may do this.
So the solution is simple. Simply make sure there are no self-closing tags and that your HTML body is well-formed. Every HTML tag must have a matching closing tag. The entire HTML content must be correctly nested.
I changed the following line:
to the following line:
And the problem is gone.
Questions? Let me know!