rem: const sHTMLFooter = 
add: sHTMLFooter = 
context: function eventArrayToHTML( calendarEventArray ){  const sHTMLHeader =       "<html>\n" + "<head>\n" + "<title>Mozilla Calendar</title>\n" +      "<meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\">\n" +      "</head>\n"+ "<body bgcolor=\"#FFFFFF\" text=\"#000000\">\n";   const sHTMLFooter =      "\n</body>\n</html>\n";   var sHTMLText = sHTMLHeader;   for( var eventArrayIndex = 0;  eventArrayIndex < calendarEventArray.length; ++eventArrayIndex )   {      var calendarEvent = calendarEventArray[ eventArrayIndex ];      sHTMLText += "<p>";      sHTMLText += "<B>Summary: </B>\t" + calendarEvent.title + "<BR>\n";      sHTMLText += "<B>Description: </B>\t" + calendarEvent.description + "<BR>\n";      sHTMLText += "<B>When: </B>" + formatDateTimeInterval(calendarEvent.start, calendarEvent.end) + "<BR>\n";      sHTMLText += "<B>Where: </B>" + calendarEvent.location + "<BR>\n";      // sHTMLText += "<B>Organiser: </B>\t" + Event.???      sHTMLText += "</p>";   }   sHTMLText += sHTMLFooter;   return sHTMLText;}
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/5d261082cfdf78e9abe5a109fca55443e889fab5/importExport.js/buggy/calendar/resources/content/importExport.js