swap nonbreakspace and hyphen