Commit aa9e1c73 authored by Joren Vrancken's avatar Joren Vrancken
Browse files

Add bleach to the vacancy page for a more readable description

parent 218dbdd8
......@@ -46,7 +46,7 @@
{{ vacancy.get_company_name }}
<small>{{ vacancy.title }}</small>
</h5>
<p>{{ vacancy.description|striptags|truncatechars:150 }}</p>
<p>{{ vacancy.description|striptags|bleach|truncatechars:150 }}</p>
<div class="team-readmore">
{% if vacancy.partner %}
<a href="{% url 'partners:partner' slug=vacancy.partner.slug %}#vacancy-{{ vacancy.id }}">
......@@ -137,4 +137,4 @@
});
});
</script>
{% endblock body %}
\ No newline at end of file
{% endblock body %}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment