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

...ed instead of returning empty string

see http://support.web2project.net/forums/229360-developer-break-room/suggestions/4876907-bug-in-w2ptextarea

currently returns empty string on bad code, new version: replaces bad code