Don't indent empty lines

This is a variation of stripping space from the end of a line.