ceb6294adb7f7dc8e6e441a4442f01b79ef899e8
hiram
  Thu Aug 31 15:07:56 2017 -0700
encode the amp to avoid warnings from W3C validator these are URL variables refs #18762

diff --git src/hg/hgTables/schema.c src/hg/hgTables/schema.c
index 021dcb3..617fc73 100644
--- src/hg/hgTables/schema.c
+++ src/hg/hgTables/schema.c
@@ -129,44 +129,44 @@
     if (stringIn("','", row[1]))
 	{
 	struct dyString *spaced = dyStringSub(row[1], "','", "', '");
 	hPrintf("<TD><TT>%s</TT></TD>", spaced->string);
 	}
     else
 	hPrintf("<TD><TT>%s</TT></TD>", row[1]);
     if (!tooBig)
 	{
 	hPrintf(" <TD>");
 	if ((isSqlStringType(row[1]) && !sameString(row[1], "longblob")) ||
 	    isSqlEnumType(row[1]) || isSqlSetType(row[1]))
 	    {
 	    hPrintf("<A HREF=\"%s", getScriptName());
 	    hPrintf("?%s", cartSidUrlString(cart));
-	    hPrintf("&%s=%s", hgtaDatabase, db);
-	    hPrintf("&%s=%s", hgtaHistoTable, table);
-	    hPrintf("&%s=%s", hgtaDoValueHistogram, row[0]);
+	    hPrintf("&amp;%s=%s", hgtaDatabase, db);
+	    hPrintf("&amp;%s=%s", hgtaHistoTable, table);
+	    hPrintf("&amp;%s=%s", hgtaDoValueHistogram, row[0]);
 	    hPrintf("\">");
 	    hPrintf("values");
 	    hPrintf("</A>");
 	    }
 	else if (isSqlNumType(row[1]))
 	    {
 	    hPrintf("<A HREF=\"%s", getScriptName());
 	    hPrintf("?%s", cartSidUrlString(cart));
-	    hPrintf("&%s=%s", hgtaDatabase, db);
-	    hPrintf("&%s=%s", hgtaHistoTable, table);
-	    hPrintf("&%s=%s", hgtaDoValueRange, row[0]);
+	    hPrintf("&amp;%s=%s", hgtaDatabase, db);
+	    hPrintf("&amp;%s=%s", hgtaHistoTable, table);
+	    hPrintf("&amp;%s=%s", hgtaDoValueRange, row[0]);
 	    hPrintf("\">");
 	    hPrintf("range");
 	    hPrintf("</A>");
 	    }
 	else
 	    {
 	    hPrintf("&nbsp;");
 	    }
 	hPrintf("</TD>");
 	}
     if (asObj != NULL)
         {
 	struct asColumn *asCol = asColumnFind(asObj, row[0]);
 	hPrintf(" <TD>");
 	if (asCol != NULL)