731eb75a1a1b0eeacfdaf5a1f48f74dbcee11302
braney
  Mon Dec 4 15:17:07 2017 -0800
fix #20575 and #20616

diff --git src/hg/inc/cart.h src/hg/inc/cart.h
index 0dfdd03..0ab3ef9 100644
--- src/hg/inc/cart.h
+++ src/hg/inc/cart.h
@@ -305,32 +305,35 @@
 void cartMakeCheckBox(struct cart *cart, char *var, boolean defaultVal);
 /* Make a check box filled with value from cart if it exists or
  * default value otherwise.  */
 
 void cartMakeRadioButton(struct cart *cart, char *var, char *val, char *defaultVal);
 /* Make a radio button that is selected if cart variable exists and matches
  * value (or value matches default val if cart var doesn't exist). */
 
 void cartSaveSession(struct cart *cart);
 /* Save session in a hidden variable. This needs to be called
  * somewhere inside of form or bad things will happen. */
 
 void cartDump(struct cart *cart);
 /* Dump contents of cart. */
 
+void cartDumpNoEncode(struct cart *cart);
+/* Dump contents of cart without HTML encoding. */
+
 #define CART_DUMP_AS_TABLE "cartDumpAsTable"
-void cartDumpList(struct hashEl *elList,boolean asTable);
+void cartDumpList(struct hashEl *elList,boolean asTable, boolean doHtmlEncode);
 /* Dump list of cart variables optionally as a table with ajax update support. */
 
 void cartDumpPrefix(struct cart *cart, char *prefix);
 /* Dump all cart variables with prefix */
 
 void cartDumpLike(struct cart *cart, char *wildcard);
 /* Dump all cart variables matching wildcard */
 
 struct hashEl *cartFindPrefix(struct cart *cart, char *prefix);
 /* Return list of name/val pairs from cart where name starts with
  * prefix.  Free when done with hashElFreeList. */
 
 struct hashEl *cartFindLike(struct cart *cart, char *wildCard);
 /* Return list of name/val pairs from cart where name matches
  * wildcard.  Free when done with hashElFreeList. */