Include main

main2
Bob Mottram 2019-10-10 21:00:22 +01:00
parent 9d52fcbf5a
commit a977e3df1d
1 changed files with 2 additions and 2 deletions

View File

@ -2803,7 +2803,7 @@ def htmlCalendar(translate: {}, \
calendarStyle = cssFile.read() calendarStyle = cssFile.read()
calendarStr=htmlHeader(cssFilename,calendarStyle) calendarStr=htmlHeader(cssFilename,calendarStyle)
calendarStr+='<table class="calendar">\n' calendarStr+='<main><table class="calendar">\n'
calendarStr+='<caption class="calendar__banner--month">\n' calendarStr+='<caption class="calendar__banner--month">\n'
calendarStr+=' <h1>'+monthName+'</h1>\n' calendarStr+=' <h1>'+monthName+'</h1>\n'
calendarStr+='</caption>\n' calendarStr+='</caption>\n'
@ -2834,7 +2834,7 @@ def htmlCalendar(translate: {}, \
calendarStr+=' </tr>\n' calendarStr+=' </tr>\n'
calendarStr+='</tbody>\n' calendarStr+='</tbody>\n'
calendarStr+='</table>\n' calendarStr+='</table></main>\n'
calendarStr+=htmlFooter() calendarStr+=htmlFooter()
return calendarStr return calendarStr