code: def get_html_string(self, **kwargs):
          options = self._get_options(kwargs)
          if options["format"]:
              string = self._get_formatted_html_string(options)
          else:
              string = self._get_simple_html_string(options)
          return string