replace " " with &nbsp;