    def html(self, html: str) -> None:
        self._html = html.encode(self.encoding)