convert &nbsp; to whitespace