In chapter 3 there is this intro:
Next, let us add in some logic that interprets two carriage-returns in a post as a paragraph break. Here we go:
The code to do that is given as:
$paraText = str_replace("\n", "</p><p>", $bodyText);
That just replaces a single CR, not a double. To fix this, I could change either the code or the text. If I change the code to \n\n
then a single CR will be ignored - which is probably OK.