code: def to_html(self):
          
          row = '<tr%s>\n' % self.html_attributes()
          for cell in self.cells:
              row += cell.to_html()
          row += '</tr>\n'
  
          return row
docs: Render a Text MessageElement as html.
  
          :returns: The html representation of the Text MessageElement
          :rtype: basestring