Deleting empty lines at end of text files


#1

Is there any way to prevent saving an edited file from automatically deleting all of the empty space/lines at the end of the file?


#2

I believe this is also due to the “Single Trailing Newline” functionality: