parameters: (self, table_orig)
return_statement: return table_html
docstring: Returns the HTML Table
docstring_summary: Returns the HTML Table
docstring_tokens: Returns the HTML Table
function: def get_table_html(self, table_orig):
          """Returns the HTML Table"""
          # table is: [offset, dict, justification]
          table = copy.deepcopy(table_orig)
          table_align_text = self.get_object_alignment_string(table[2])
          table_html = '<table class="table">'
          table[1]['matrix'].insert(0, table[1]['matrix'].pop())
          for col in table[1]['matrix'][0]:
              table_html += '<col/>'
          for j, row in enumerate(table[1]['matrix']):
              table_html += "<tr>"
              for cell in row:
                  cell = cgi.escape(cell)
                  if j == 0: table_html += "<th>" + cell + "</th>"
                  else: table_html += "<td>" + cell + "</td>"
              table_html += "</tr>"
          table_html += "</table>"
          return table_html
function_tokens: def get_table_html ( self , table_orig ) : # table is: [offset, dict, justification] table = copy . deepcopy ( table_orig ) table_align_text = self . get_object_alignment_string ( table [ 2 ] ) table_html = '<table class="table">' table [ 1 ] [ 'matrix' ] . insert ( 0 , table [ 1 ] [ 'matrix' ] . pop ( ) ) for col in table [ 1 ] [ 'matrix' ] [ 0 ] : table_html += '<col/>' for j , row in enumerate ( table [ 1 ] [ 'matrix' ] ) : table_html += "<tr>" for cell in row : cell = cgi . escape ( cell ) if j == 0 : table_html += "<th>" + cell + "</th>" else : table_html += "<td>" + cell + "</td>" table_html += "</tr>" table_html += "</table>" return table_html