Fixes html plain text error
* Added entity code