&nbsp; needs to be converted manually to spaces since html_entity_decode converts it (correclty) to a non-breaking-space, not to simple spaces.