'Append the actual tags to content.'

def render(self, tag, single, between, kwargs):

    out = ('<%s' % tag)
    for (key, value) in kwargs.items():
        if (value is not None):
            key = key.strip('_')
            if (key == 'http_equiv'):
                key = 'http-equiv'
            elif (key == 'accept_charset'):
                key = 'accept-charset'
            out = ('%s    %s="%s"' % (out, key, escape(value)))
        else:
            out = ('%s    %s' % (out, key))
    if (between is not None):
        out = ('%s>%s</%s>' % (out, between, tag))
    elif single:
        out = ('%s    />' % out)
    else:
        out = ('%s>' % out)
    if (self.parent is not None):
        self.parent.content.append(out)
    else:
        return out
