Strip whitespace from end of line