Turn off "auto remove whitespace at the end of line".