code: def to_html(self):
          
          if self.items is None:
              return
          else:
              html = '<ol%s>\n' % self.html_attributes()
              for item in self.items:
                  html += '<li>%s</li>\n' % item.to_html()
              html += '</ol>'
              return html
docs: Render a Text MessageElement as html
  
          Args:
              None
  
          Returns:
              Str the html representation of the Text MessageElement
  
          Raises:
              Errors are propagated