Now removes white space at end of line