Convert to htmlentities before we convery spaces