code: def _render_after(self, element):
          '''Render closing tag'''
          if element.inline_content:
              return "</%s>%s" % (element.tag, self.render_newlines())
          elif element.self_close:
              return self.render_newlines()
          elif self.children:
              return "%s</%s>\n" % (self.spaces, element.tag)
          else:
              return "</%s>\n" % (element.tagf _render_after(self, element):
          '''Render closing tag'''
          if element.inline_content:
              return "</%s>%s" % (element.tag, self.render_newlines())
          elif element.self_close:
              return self.render_newlines()
          elif self.children:
              return "%s</%s>\n" % (self.spaces, element.tag)
          else:
              return "</%s>\n" % (element.tag)
docs: Render closing tag