Strip whitespace off line endings on save