035323fe4a88aea8872eb11de17a3800321cf8e7 galt Wed Jan 18 19:59:51 2023 -0800 code cleanup based on htmlCheck output. refs #7914 diff --git src/hg/hgGene/malaCards.c src/hg/hgGene/malaCards.c index c33edca..fcad4a0 100644 --- src/hg/hgGene/malaCards.c +++ src/hg/hgGene/malaCards.c @@ -30,33 +30,33 @@ return(FALSE); } static void malaCardsPrint(struct section *section, struct sqlConnection *conn, char *geneId) /* Print out malaCards section. */ { char query[1024]; struct sqlResult *sr; char **row; char *itemName; sqlSafef(query, sizeof(query), "select k.geneSymbol from kgXref k, malacards m" " where k.kgId='%s' and k.geneSymbol = m.geneSymbol", geneId); itemName = sqlQuickString(conn, query); -printf("<B>MalaCards Gene Search: "); +printf("<B>MalaCards Gene Search: </B>"); printf("<A HREF='http://www.malacards.org/search/bySymbol/%s' target=_blank>", itemName); -printf("%s</B></A>\n", itemName); +printf("%s</A>\n", itemName); /* List diseases associated with the gene */ sqlSafef(query, sizeof(query), "select maladySymbol, urlSuffix, mainName, round(geneScore), isElite from malacards where geneSymbol='%s' order by geneScore desc", itemName); sr = sqlMustGetResult(conn, query); row = sqlNextRow(sr); if (row != NULL) printf("<BR><B>Diseases sorted by gene-association score: </B>"); int eliteCount = 0; while (row != NULL) {