docs: def escape(self, value):
          """Escape given value."""
          value = soft_unicode(value)
  
          if self._engine._escape is None:  # pylint: disable=protected-access
              return value
  
          return self._engine._escape(value)