remove whitespace from word before ellipses