Trim trailing white space on save.