code: def _html(self, text):
          '''Parse a Tweet and generate HTML.'''
          html = URL_REGEX.sub(self._parse_urls, text)
          html = USERNAME_REGEX.sub(self._parse_users, html)
          html = LIST_REGEX.sub(self._parse_lists, html)
          return HASHTAG_REGEX.sub(self._parse_tags, htmlf _html(self, text):
          '''Parse a Tweet and generate HTML.'''
          html = URL_REGEX.sub(self._parse_urls, text)
          html = USERNAME_REGEX.sub(self._parse_users, html)
          html = LIST_REGEX.sub(self._parse_lists, html)
          return HASHTAG_REGEX.sub(self._parse_tags, html)
docs: Parse a Tweet and generate HTML.