Don't add blank lines with trailing whitespace