fix: State descriptions can have HTML in them, mark them safe (#6384)

This commit is contained in:
Lars Eggert 2023-09-26 16:09:39 +03:00 committed by GitHub
parent 6acc7aa848
commit 5db70b2787
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -26,7 +26,7 @@
{% for state in states %}
<tr id="{{ state.slug|default:"idexists" }}">
<th scope="row">{{ state.name }}</th>
<td>{{ state.desc|urlize_ietf_docs|linkify }}</td>
<td>{{ state.desc|safe|urlize_ietf_docs|linkify }}</td>
{% if has_next_states %}
<td>
{% for s in state.next_states.all %}