def METHOD_NAME(self, *args: object, **kwargs: object) -> HTML:
    """
    Like `str.format`, but make sure that the arguments are properly
    escaped.
    """
    return HTML(FORMATTER.vformat(self.value, args, kwargs))