auto-indent on newline was inserting whitespace for empty lines