There is a space before the period in "if the text runs past the page ." and "like this before and after ."