{% load util %} {% autoescape off %} {% for result in results %}
{{result.thread_title|truncate_string:50}}
{{ result.thread_info }}
{% for p in result.posts %}
{{ p.post_body|truncatewords_html:70 }}
{{ p.post_info }} | read full post...
{% endfor %}
{% endfor %} {% endautoescape %}