Remove extra whitespace

* Spaces at the end of lines
* Double spaces in line breaks