def filter(self, value, model=None, context=None):
        """
        Filter
        Performs value filtering and returns filtered result.

        :param value:               input value
        :param model:           parent model being validated
        :param context:             object, filtering context
        :return:                    filtered value
        """
        value = str(value)
        return bleach.clean(text=value, **self.bleach_params)
Filter
        Performs value filtering and returns filtered result.

        :param value:               input value
        :param model:           parent model being validated
        :param context:             object, filtering context
        :return:                    filtered value