fix(templates): Mark pre-escaped variables as 'safe'
This commit is contained in:
parent
fc0b9d7fa5
commit
72f6fa65fd
2 changed files with 2 additions and 2 deletions
|
|
@ -34,7 +34,7 @@
|
|||
{% for result in results -%}
|
||||
<a href="/thread/{{ result.thread_id }}#post-{{ result.post_id }}" class="list-group-item list-group-item-action flex-column align-items-start">
|
||||
<div class="d-flex w-100 justify-content-between">
|
||||
<p class="mb-1">{{ result.headline }}</p>
|
||||
<p class="mb-1">{{ result.headline | safe }}</p>
|
||||
<small class="float-right text-muted"><i>(Posted in '{{ result.title }}' by {{ result.author }})</i></small>
|
||||
</div>
|
||||
</a>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue