Commit 5a5a1420 authored by Luuk Scholten's avatar Luuk Scholten
Browse files

Merge branch 'fix/vacancy-striptags-bleach' into 'master'

Add bleach to the vacancy page for a more readable description

@lscholten, je hebt het gezien.

See merge request !165
parents a1260245 aa9e1c73
......@@ -46,7 +46,7 @@
{{ vacancy.get_company_name }}
<small>{{ vacancy.title }}</small>
<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-{{ }}">
......@@ -137,4 +137,4 @@
{% endblock body %}
\ No newline at end of file
{% endblock body %}
Markdown is supported
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