LUN-1854: ellipsis should not show up in the middle of the word.