if it does not already end with a newline. This fixes SF bug #463330.
Attach a file by drag & drop or click to upload