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 @@ ...@@ -46,7 +46,7 @@
{{ vacancy.get_company_name }} {{ vacancy.get_company_name }}
<small>{{ vacancy.title }}</small> <small>{{ vacancy.title }}</small>
</h5> </h5>
<p>{{ vacancy.description|striptags|truncatechars:150 }}</p> <p>{{ vacancy.description|striptags|bleach|truncatechars:150 }}</p>
<div class="team-readmore"> <div class="team-readmore">
{% if vacancy.partner %} {% if vacancy.partner %}
<a href="{% url 'partners:partner' slug=vacancy.partner.slug %}#vacancy-{{ vacancy.id }}"> <a href="{% url 'partners:partner' slug=vacancy.partner.slug %}#vacancy-{{ vacancy.id }}">
...@@ -137,4 +137,4 @@ ...@@ -137,4 +137,4 @@
}); });
}); });
</script> </script>
{% endblock body %} {% endblock body %}
\ No newline at end of file
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