@register.filter
def restructuredtext(value, **overrides):
    parts = restructuredparts(value, **overrides)
    if not isinstance(parts, dict):
        return value
    return parts["html_body"]
The Django version of this markup filter has an issue when only one title
dataset/ETHPy150Open amarandon/smeuhsocial/apps/blog/templatetags/restructuredtext.py/restructuredtext