8e592c5d2ce91d47ada522fd181796622f53e010 kate Sun May 26 13:10:52 2013 -0700 HTML formatting correction, fixes extra space before comman in cell type lists, found by Brooke during QA. refs #10097 diff --git src/hg/lib/hui.c src/hg/lib/hui.c index 24cb454..5eec8e0 100644 --- src/hg/lib/hui.c +++ src/hg/lib/hui.c @@ -7716,37 +7716,37 @@ if ((plus = strchr(description, '+')) != NULL) *plus = 0; } AllocVar(source); source->name = cloneString(name); source->description = cloneString(description); slAddHead(&sources, source); } slUniqify(&sources, factorSourceInfoCmp, NULL); int count = 0; while ((source = slPopHead(&sources)) != NULL) { printf("</TR><TR>\n"); webPrintLinkCell(source->name); webPrintLinkCellStart(); - puts(source->description); + fputs(source->description, stdout); count++; while (sources && sameString(sources->name, source->name)) { source = slPopHead(&sources); - puts(", "); - puts(source->description); + fputs(", ", stdout); + fputs(source->description, stdout); count++; } webPrintLinkCellEnd(); } sqlFreeResult(&sr); webPrintLinkTableEnd(); printf("Total: %d\n", count); } boolean printPennantIconNote(struct trackDb *tdb) // Returns TRUE and prints out the "pennantIcon" and note when found. //This is used by hgTrackUi and hgc before printing out trackDb "html" { char * setting = trackDbSetting(tdb, "pennantIcon"); if (setting != NULL)