'Compile the tag of the given element into a list of AST nodes.'

def _compile_tag(self, el, content, options, attr_already_created=False):

    if (el.tag == 't'):
        return content
    body = [self._append(ast.Str((u'<%s' % el.tag)))]
    body.extend(self._compile_all_attributes(el, options, attr_already_created))
    if (el.tag in self._void_elements):
        body.append(self._append(ast.Str(u'/>')))
        body.extend(content)
    else:
        body.append(self._append(ast.Str(u'>')))
        body.extend(content)
        body.append(self._append(ast.Str((u'</%s>' % el.tag))))
    return body
