Blogger is my choice of platform for doing my blog and it’s very stable and ist supported and hosted by Google.
This problem could occur when you tried to create your posts on a different device like a Windows device or a MacOS Device and then try to copy it into the compose view in blogger.
Line breaks everywhere (hidden as well)
When you attempt to do this, you get lots of line breaks that didn’t appear on the original platform Which used to be slightly irritating, but recently, this problem seems to be every time I attempt it.
Blogger composer : Basic but functional
The blogger compose view is not particularly exciting and doesn’t win any awards, but it functionally worksHowever, I do not want to format my blogs in blogger directly when they’re are better way you can format this off platform.
Why does this happen?
Windows uses CR+LF (carriage return + line feed) for line breaks while Mac uses just LF. Blogger might be interpreting these differently and adding extra breaks.
Invisible Characters
When you use the clipboard on a multitude of devices, including Windows, macOS, iOS it will copy lots of special characters which are not displayed in the editor but they are present - blogger is reading those characters and adding those line breaks back in automatically
Trying different solutions
I tried quite a few options to get around this problem that was irritating, when you have formatted an article that m may not have contain code and you paste it into blogger, you then had to reformat all the line breaks back out of that post.
Code caused majority of my headaches with these line breaks, unfortunately, it is very rare for people to code directly on the blogger platform because it’s not a coding platform you would use other more suited application applications to actually write code.
This was monotonous and boring, and I didn’t want to keep doing this - there must be an easy way to fix these problems.
Resolving the problem
When I look back on how this was resolved, it was quite simple, but it didn’t feel like it until I knew how to fix it
The simple solution to this If you are trying to especially display code on your blog for other people to utilize put it between the tags <pre>
Note : You will need to switch to HTML view to add in these tags, then when complete switch back to compose view
This is a quick example, even when I tried to use that example it’s already put extra line breaks in!
<pre>
Code here
</pre>
You will also need to reapply the formatting because when you add code like this, it will come in a funny system font, I resolve this by highlighting the code and from formatting choosing the option. Paragraph.