7338fb10bb7ffdc0a75445a36cd128e6be593d36
braney
  Mon Feb 26 10:51:47 2024 -0800
fix a bunch of places that were printing out hub_#_db instead of just db

diff --git src/hg/lib/web.c src/hg/lib/web.c
index 571a2c5..438da80 100644
--- src/hg/lib/web.c
+++ src/hg/lib/web.c
@@ -170,31 +170,31 @@
 if (sameString(cgiUsualString("action",""),"encodeReleaseLog") ||
     rStringIn("EncodeDataVersions", scriptName))
         isEncode = TRUE;
 
 /* Preamble. */
 dnaUtilOpen();
 
 
 if (withHttpHeader)
     puts("Content-type:text/html\n");
 
 // If the database name is not already in the title string, add it now
 if (endsWith(scriptName, "hgc") && db != NULL && !stringIn(db, textOutBufDb))
     {
     struct dyString *newTitle = dyStringNew(0);
-    dyStringPrintf(newTitle, "%s %s", db, textOutBufDb);
+    dyStringPrintf(newTitle, "%s %s", trackHubSkipHubName(db), textOutBufDb);
     textOutBufDb = dyStringCannibalize(&newTitle);
     }
 if (withHtmlHeader)
     {
     char *newString, *ptr1, *ptr2;
 
     char *browserVersion;
     if (btIE == cgiClientBrowser(&browserVersion, NULL, NULL) && *browserVersion < '8')
         puts("<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 3.2//EN\">");
     else
         puts("<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" "
              "\"http://www.w3.org/TR/html4/loose.dtd\">");
     // Strict would be nice since it fixes atleast one IE problem (use of :hover CSS pseudoclass)
     puts(
 	"<HTML>" "\n"