Add option to keep whitespace at the end of the sentences