@register.filter
def safe_html_thumbnails(value):
    return text_filter('<img(?: alt="(%(caption)s)?")? src="(%(image)s)"', value)
Returns the attribute from the _document if it exists.
dataset/ETHPy150Open python-thumbnails/python-thumbnails/thumbnails/templatetags/thumbnails.py/safe_html_thumbnails--crossover with--dataset/ETHPy150Open lvieirajr/mongorest/mongorest/collection.py/CollectionMeta.__getattr__