src/hg/inc/hPrint.h 1.11
1.11 2010/05/07 03:38:10 galt
new function hPrintEncodeNonBreak to protect against problems with <>;" in output, problem was recently uncovered by hgNearTest
Index: src/hg/inc/hPrint.h
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/hg/inc/hPrint.h,v
retrieving revision 1.10
retrieving revision 1.11
diff -b -B -U 4 -r1.10 -r1.11
--- src/hg/inc/hPrint.h 18 Dec 2008 05:54:58 -0000 1.10
+++ src/hg/inc/hPrint.h 7 May 2010 03:38:10 -0000 1.11
@@ -31,8 +31,11 @@
void hPrintNonBreak(char *s);
/* Print out string but replace spaces with */
+void hPrintEncodedNonBreak(char *s);
+/* Print with htmlEncode and non-break */
+
void hPuts(char *string);
/* Puts that can be suppressed if not making html. */
void hPutc(char c);