def render_tag(self, key, value, context):     
        try:
            value = template.Variable(value).resolve(context)
        except template.base.VariableDoesNotExist:
            pass
        og_layout = u'<meta property="og:{0}" content="{1}" />'
        value = value.replace('"', ' ')
        key = key.replace('"', '')
        # fix absolute links
        if [u'url', u'image', u'audio', u'video'] in key and value and value[0] == u'/':
            value = u'http://{0}{1}'.format(site_domain, value)
        og_formatted = og_layout.format(key, value)
        return og_formatted
dataset/ETHPy150Open saippuakauppias/django-simple-open-graph/simple_open_graph/templatetags/simple_open_graph.py/OpenGraphNode.render_tag/swapped operands of `in`