replace non-breakable spaces in text