Implement HTML escaping and unescaping service.