Skip to content

Commit 197ddad

Browse files
dorian-adamshugovkJacobCoffee
authored
fix(frontend): HTML leak in job_detail (#2316)
Co-authored-by: Hugo van Kemenade <[email protected]> Co-authored-by: Jacob Coffee <[email protected]>
1 parent b51e4f8 commit 197ddad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/jobs/job_detail.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
{% block content_attributes %}with-right-sidebar{% endblock %}
99

1010
{% block og_title %}Job: {{ object.job_title }} at {{ object.company_name }}{% endblock %}
11-
{% block og-descript %}{{ object.description|escape|truncatechars:200 }}{% endblock %}
11+
{% block og-descript %}{{ object.description.rendered|striptags|truncatechars:200 }}{% endblock %}
1212

1313
{% block content %}
1414
{% load companies %}

0 commit comments

Comments
 (0)