7ea47ecdd280f60036477a2c9774004cf129a690
hiram
  Thu Aug 31 14:03:14 2017 -0700
empty ul list is illegal, add an empty item refs #18762

diff --git src/lib/htmshell.c src/lib/htmshell.c
index da213f2..e7aa73d 100644
--- src/lib/htmshell.c
+++ src/lib/htmshell.c
@@ -607,31 +607,31 @@
 
 // NOTE: Making both IE and FF work is almost impossible.  Currently, in IE, if the message
 // is forced to the top (calling this routine after <BODY> then the box is not resizable
 // (dynamically adjusting to its contents). But if this setup is done later in the page
 // (at first warning), then IE does resize it.  Why?
 // FF3.0 (but not FF2.0) was resizable with the following, but it took some experimentation.
 // Remember what worked nicely on FF3.0:
 //      "var app=navigator.appName.substr(0,9); "
 //      "if(app == 'Microsoft') {warnBox.style.display='';} 
 //       else {warnBox.style.display=''; warnBox.style.width='auto';}"
 struct dyString *dy = dyStringNew(2048);
 
 fprintf(f,"<center>"
             "<div id='warnBox' style='display:none;'>"
             "<CENTER><B id='warnHead'></B></CENTER>"
-            "<UL id='warnList'></UL>"
+            "<UL id='warnList'><li>&nbsp;</li></UL>"
             "<CENTER><button id='warnOK'></button></CENTER>"
             "</div></center>\n");
 // TODO we should just move these warnBox functions to utils.js or warning.js or something.
 dyStringPrintf(dy,"function showWarnBox() {"
             "document.getElementById('warnOK').innerHTML='&nbsp;OK&nbsp;';"
             "var warnBox=document.getElementById('warnBox');"
             "warnBox.style.display=''; warnBox.style.width='65%%';"
             "document.getElementById('warnHead').innerHTML='Warning/Error(s):';"
             "window.scrollTo(0, 0);"
           "}\n");
 dyStringPrintf(dy,"function hideWarnBox() {"
             "var warnBox=document.getElementById('warnBox');"
             "warnBox.style.display='none';"
             "var warnList=document.getElementById('warnList');"
 	    "warnList.innerHTML='';"