I type in “typewriter-style” — that is to say, I prefer to leave two spaces after the period at the end of sentences. In HTML, a series of whitespace characters is rendered in the browser as a single space, so you typically don’t see two spaces following a sentence unless extra measures are taken to preserve them.
I use WordPress for this blog and I noticed that, indeed, the two spaces are preserved. However, there is an issue. If a line happens to break at the end of a sentence, the second space will be carried over to the next line. (See image above.) In this article, I will explain what is happening and present a possible solution.