Skip to content

Commit c3e7c1e

Browse files
authored
feat: Linkify state descriptions (ietf-tools#4916)
1 parent cab9b1c commit c3e7c1e

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

ietf/templates/help/states.html

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{% extends "base.html" %}
22
{# Copyright The IETF Trust 2015, All Rights Reserved #}
3-
{% load origin static %}
3+
{% load origin static ietf_filters textfilters %}
4+
%}
45
{% block pagehead %}
56
<link rel="stylesheet" href="{% static "ietf/css/list.css" %}">
67
{% endblock %}
@@ -20,7 +21,7 @@ <h1>{{ type.label|cut:"state"|cut:"State" }} states</h1>
2021
{% for state in states %}
2122
<tr>
2223
<th scope="row">{{ state.name }}</th>
23-
<td>{{ state.desc|safe }}</td>
24+
<td>{{ state.desc|urlize_ietf_docs|linkify }}</td>
2425
<td>
2526
<ul>
2627
{% for s in state.next_states.all %}

0 commit comments

Comments
 (0)