I just noticed that the inline editor for mimetype text/plain silently removes all trailing whitespace from a file, including any terminating space and/or linefeed on the last non-empty line. Just opening and saving a file that has trailing whitespace will alter its contents without warning, even if the user has done no editing at all.