306429a79f9eedb8614ad52c6f5e2ad60bc50449 kate Mon May 11 16:54:58 2020 -0700 Reverting html and web lib changes for allowing tags in title bars. (For now, limiting to trackUi). refs #24948 diff --git src/hg/lib/web.c src/hg/lib/web.c index 355585c..3c6249d 100644 --- src/hg/lib/web.c +++ src/hg/lib/web.c @@ -366,31 +366,31 @@ /* Put up the first section (normally done by webStartWrap). */ { puts( // TODO: Replace nested tables with CSS (difficulty is that tables are closed elsewhere) "<!-- +++++++++++++++++++++ CONTENT TABLES +++++++++++++++++++ -->" "\n" "<TR><TD COLSPAN=3>\n" "<div id=firstSection>" " <!--outer table is for border purposes-->\n" " <TABLE WIDTH='100%' BGCOLOR='#" HG_COL_BORDER "' BORDER='0' CELLSPACING='0' " "CELLPADDING='1'><TR><TD>\n" " <TABLE BGCOLOR='#" HG_COL_INSIDE "' WIDTH='100%' BORDER='0' CELLSPACING='0' " "CELLPADDING='0'><TR><TD>\n" " <div class='subheadingBar'><div class='windowSize' id='sectTtl'>" ); // FIXME: Need a more general solution here to support styling in blue bar title. // Perhaps support escaped < and > by doubling or backslash -htmTextOutWithEscapes(stdout, title); +htmlTextOut(title); puts(" </div></div>\n" " <TABLE BGCOLOR='#" HG_COL_INSIDE "' WIDTH='100%' CELLPADDING=0>" "<TR><TH HEIGHT=10></TH></TR>\n" " <TR><TD WIDTH=10> </TD><TD>\n\n" ); } void webNewSectionHeaderStart() /* Start the header for a new section on the web page. * May be used to maintain table layout without a proper section header */ { webEndSection(); puts("<div>"); puts("<!-- +++++++++++++++++++++ START NEW SECTION +++++++++++++++++++ -->");