96fd7fffb86e919a6a394250208c04bca67842da
tdreszer
  Tue Feb 8 12:38:25 2011 -0800
Added routine to strip html tags from text.  This shouuld be used on strings that become tooltip titles.
diff --git src/inc/htmshell.h src/inc/htmshell.h
index cd92119..6ee39c4 100644
--- src/inc/htmshell.h
+++ src/inc/htmshell.h
@@ -29,30 +29,33 @@
 void htmlHorizontalLine();
 /* Print a horizontal line. */
 
 void htmlNbSpaces(int count);
 /* Print a number of non-breaking spaces. */
 
 void htmHorizontalLine(FILE *f);
 /* Print a horizontal line. */
 
 void htmTextOut(FILE *f, char *s);
 /* Print out string to file, if necessary replacing > with > and the like */
 
 void htmlTextOut(char *s);
 /* Print out string, if necessary replacing > with > and the like */
 
+char *htmlTextStripTags(char *s);
+/* Returns a cloned string with all html tags stripped out */
+
 char *htmlEncodeText(char *s, boolean tagsOkay);
 /* Returns a cloned string with quotes replaced by html codes.
    Changes ',",\n and if not tagsOkay >,<,& to code equivalents.
    This differs from cgiEncode as it handles text that will
    be displayed in an html page or tooltip style title.  */
 #define htmlEncode(s) htmlEncodeText(s,FALSE)
 
 void htmlMemDeath();
 /* Complain about lack of memory and abort.  */
 
 void htmlStart(char *title);
 /* Write the start of a cgi-generated html file */
 
 void htmStart(FILE *f, char *title);
 /* Write the start of a stand alone .html file. */