5a87069f694d527cd2c7e525dfaf0937f77cf5a6
galt
  Tue Jul 10 17:37:03 2012 -0700
fixing simple html table tag errors caught with htmlCheck
diff --git src/hg/hgCustom/hgCustom.c src/hg/hgCustom/hgCustom.c
index e67120c..96150e0 100644
--- src/hg/hgCustom/hgCustom.c
+++ src/hg/hgCustom/hgCustom.c
@@ -347,31 +347,33 @@
 cgiSimpleTableFieldStart();
 if (!(isUpdateForm && dataUrl))
     {
     printf("<span id='loadingMsg'></span>\n");
     makeClearButton(hgCtDataText);
     }
 cgiTableFieldEnd();
 cgiTableRowEnd();
 
 cgiTableEnd();
 cgiTableFieldEnd();
 cgiTableRowEnd();
 
 /* extra space */
 cgiSimpleTableRowStart();
+cgiSimpleTableFieldStart();
 cgiDown(0.7);
+cgiTableFieldEnd();
 cgiTableRowEnd();
 
 /* next row - label for description text entry */
 cgiSimpleTableRowStart();
 cgiTableField("Optional track documentation: ");
 if (isUpdateForm && ctHtmlUrl(ct))
     cgiTableField("&nbsp;");
 else
     {
     puts("<TD ALIGN='RIGHT'>");
     puts("Or upload: ");
     cgiMakeFileEntry(hgCtDocFile);
     cgiTableFieldEnd();
     }
 cgiTableRowEnd();
@@ -386,31 +388,30 @@
     cgiMakeTextAreaDisableable(hgCtDocText, buf,
                                     TEXT_ENTRY_ROWS, TEXT_ENTRY_COLS, TRUE);
     }
 else
     {
     cgiMakeTextArea(hgCtDocText, cartUsualString(cart, hgCtDocText, ""),
                                     TEXT_ENTRY_ROWS, TEXT_ENTRY_COLS);
     cgiSimpleTableFieldStart();
     cgiSimpleTableStart();
     cgiSimpleTableRowStart();
     cgiSimpleTableFieldStart();
     makeClearButton(hgCtDocText);
     cgiTableFieldEnd();
     cgiTableRowEnd();
     cgiTableEnd();
-    cgiTableFieldEnd();
     }
 cgiTableFieldEnd();
 
 cgiTableRowEnd();
 cgiTableEnd();
 
 /* help text at bottom of screen - link for HTML description template */
 puts("Click <A HREF=\"../goldenPath/help/ct_description.txt\" TARGET=_blank>here</A> for an HTML document template that may be used for Genome Browser track descriptions.");
 
 if (isUpdateForm)
     {
     /* hidden variables to identify track */
     cgiMakeHiddenVar(hgCtUpdatedTable, ct->tdb->track);
     char buf[512];
     char *shortLabel = htmlEncode(ct->tdb->shortLabel);