Commit 3ecda96ac4a390d457d30cb5ebb162cefa685e18
Exists in
master
and in
39 other branches
Merge branch 'master' into bio_field_on_userprofile
Showing
1 changed file
with
2 additions
and
2 deletions
Show diff stats
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> | ... | ... |