Fix a bug with leading whitespace

No need for whitespace when we have a blank line.