Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
thalia
concrexit
Commits
aa9e1c73
Commit
aa9e1c73
authored
Nov 09, 2016
by
Joren Vrancken
Browse files
Add bleach to the vacancy page for a more readable description
parent
218dbdd8
Changes
1
Hide whitespace changes
Inline
Side-by-side
website/partners/templates/partners/vacancies.html
View file @
aa9e1c73
...
...
@@ -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 %}
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment