Use html_entity_decode() instead of your custom code.
Merge pull request #115 from realityking/filter

Use html_entity_decode() instead of your custom code.