Fix #1749 by using word-wrap instead of word-break