4aa7141dedea619f3bc7d42316f886bcfd554349
galt
  Thu Jul 28 20:30:09 2016 -0700
Finishing touches on html-encoding of errors for warn/abort when using html output.

diff --git src/hg/lib/hgFind.c src/hg/lib/hgFind.c
index fa28be8..81ce912 100644
--- src/hg/lib/hgFind.c
+++ src/hg/lib/hgFind.c
@@ -2511,31 +2511,31 @@
 int start = BIGNUM;
 int end = 0;
 
 termCount = chopByChar(cloneString(spec), ';', terms, ArraySize(terms));
 multiTerm = (termCount > 1);
 
 for (i = 0;  i < termCount;  i++)
     {
     trimSpaces(terms[i]);
     if (isEmpty(terms[i]))
 	continue;
     hgp = hgPositionsFind(db, terms[i], "", hgAppName, cart, multiTerm);
     if (hgp == NULL || hgp->posCount == 0)
 	{
 	hgPositionsFree(&hgp);
-	warn("Sorry, couldn't locate %s in genome database\n", htmlEncode(terms[i]));
+	warn("Sorry, couldn't locate %s in genome database\n", terms[i]);
 	if (multiTerm)
 	    hUserAbort("%s not uniquely determined -- "
 		     "can't do multi-position search.", terms[i]);
 	*retWinStart = 0;
 	return NULL;
 	}
     
     if ((hgp->singlePos != NULL) && (!showAlias || !hgp->useAlias))
 	{
 	if (chrom != NULL && !sameString(chrom, hgp->singlePos->chrom))
 	    hUserAbort("Sites occur on different chromosomes: %s, %s.",
 		     chrom, hgp->singlePos->chrom);
 	chrom = hgp->singlePos->chrom;
 	if (hgp->singlePos->chromStart < start)
 	    start = hgp->singlePos->chromStart;