revert bad removal of whitespace from the end of lines