change paramter calls of htmlentities to allow invalid code to be replaced instead of returning empty string
Merge pull request #237 from opto/id1386

change paramter calls of htmlentities to allow invalid code to be replac...