src/hg/near/hgNear/hgNear.h 1.100

1.100 2010/05/07 03:37:41 galt
using htmlEncode via new function hPrintEncodeNonBreak to protect against problems with <>;" in output, problem was recently uncovered by hgNearTest
Index: src/hg/near/hgNear/hgNear.h
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/hg/near/hgNear/hgNear.h,v
retrieving revision 1.99
retrieving revision 1.100
diff -b -B -U 4 -r1.99 -r1.100
--- src/hg/near/hgNear/hgNear.h	20 Nov 2009 19:17:35 -0000	1.99
+++ src/hg/near/hgNear/hgNear.h	7 May 2010 03:37:41 -0000	1.100
@@ -365,8 +365,11 @@
 
 void hPrintNonBreak(char *s);
 /* Print out string but replace spaces with &nbsp; */
 
+void hPrintEncodedNonBreak(char *s);
+/* Print with htmlEncode and non-break */
+
 void makeTitle(char *title, char *helpName);
 /* Make title bar. */
 
 void controlPanelStart();