code: def end(self):
          
          if self.lastUrl is not None:
              self.html.write(u'</li>\n')
          if self.lastComic is not None:
              self.html.write(u'</ul>\n')
          self.html.write(u'</ul>\n')
          self.addNavLinks()
          self.html.close()
docs: End HTML output.