diff options
author | Vincent Ambo <tazjin@gmail.com> | 2018-04-16T09·03+0200 |
---|---|---|
committer | Vincent Ambo <tazjin@gmail.com> | 2018-04-16T09·03+0200 |
commit | 9c2359c8c9ba07b4449c7a47612bbed505e35de4 (patch) | |
tree | 336c9c18af23d4eac680cda3ae54e45b12975a7a /templates/index.html | |
parent | 1462810963f54f59b5eacd8657057583c87dc0e4 (diff) |
fix(templates): Fix double-escaping of thread titles
Diffstat (limited to 'templates/index.html')
-rw-r--r-- | templates/index.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/index.html b/templates/index.html index 184e06e34101..c8c72d9d2e87 100644 --- a/templates/index.html +++ b/templates/index.html @@ -28,7 +28,7 @@ {% for thread in threads -%} <a href="/thread/{{ thread.id }}" class="list-group-item list-group-item-action flex-column align-items-start {%- if thread.sticky %} bg-secondary text-white {% endif -%}"> <div class="d-flex w-100 justify-content-between"> - <h5 class="mb-1">{% if thread.sticky %}<span class="badge badge-light">Sticky</span> {% endif %}{{ thread.title }}</h5> + <h5 class="mb-1">{% if thread.sticky %}<span class="badge badge-light">Sticky</span> {% endif %}{{ thread.title | safe }}</h5> <small class="{% if thread.sticky %}text-white{% else %}text-muted{% endif %}">{{ thread.posted }}</small> </div> <p class="mb-1">Created by {{ thread.author_name }}</p> |