replace one whitespace with only one &nbsp;