{% ifequal obj.format 'html' %} {{ obj.description_or_text|safe|urlize }} {% endifequal %} {% ifequal obj.format 'text' %} {{ obj.description_or_text|linebreaks|urlize }} {% endifequal %} {% ifequal obj.format 'markdown' %} {% load markup %} {{ obj.description_or_text|markdown|urlize }} {% endifequal %}

more...