Replace entity code with em dash character