Most likely the plugin didn't delete the non-breaking spaces, but merely replaced them with Unicode characters.
You can test this by installing and running the
ShadyCharacters plugin.
If that brings back the entities, select Edit > Preferences > Preserve Entities and and add to the list.