Commit 2762b25fe6f2784a0e035d1ab847883192397c09

Authored by Luan
1 parent 1eb77eb2

removing html tags from description - closes #108

src/super_archives/templates/message-preview.html
... ... @@ -28,9 +28,9 @@
28 28 {% highlight result.description with query max_length "150" %}
29 29 {% else %}
30 30 {% if result.latest_description %}
31   - {{ result.latest_description|escape|truncatechars:150 }}
  31 + {{ result.latest_description|striptags|escape|truncatechars:150 }}
32 32 {% elif result.description %}
33   - {{ result.description|escape|truncatechars:150 }}
  33 + {{ result.description|striptags|escape|truncatechars:150 }}
34 34 {% endif %}
35 35 {% endif %}
36 36 </span>
... ...