from django import template
from django.utils.safestring import mark_safe
register = template.Library()
 
@register.filter(name='lookup')
def lookup(d, key):
    return d[key]
@register.filter(name='getContentFromJsonSolrResult')
def getContentFromHiglights(d, key):
    data=d[key]
    return  mark_safe(d[key]["content"][0])


214979437405db8529eded3a47b4e3a2df3f1568
<mask token>

<mask token>


@register.filter(name='lookup')
def lookup(d, key):
    return d[key]


<mask token>

<mask token>


@register.filter(name='lookup')
def lookup(d, key):
    return d[key]


@register.filter(name='getContentFromJsonSolrResult')
def getContentFromHiglights(d, key):
    data = d[key]
    return mark_safe(d[key]['content'][0])

from django import template
from django.utils.safestring import mark_safe
register = template.Library()


@register.filter(name='lookup')
def lookup(d, key):
    return d[key]


@register.filter(name='getContentFromJsonSolrResult')
def getContentFromHiglights(d, key):
    data = d[key]
    return mark_safe(d[key]['content'][0])

from django import template
from django.utils.safestring import mark_safe
register = template.Library()
 
@register.filter(name='lookup')
def lookup(d, key):
    return d[key]
@register.filter(name='getContentFromJsonSolrResult')
def getContentFromHiglights(d, key):
    data=d[key]
    return  mark_safe(d[key]["content"][0])

