remove useless |saf tag
This commit is contained in:
parent
4a6391730d
commit
eb5d8696fa
2 changed files with 2 additions and 2 deletions
|
|
@ -52,7 +52,7 @@ SPDX-License-Identifier: GPL-3.0-or-later
|
|||
{% endfor %}
|
||||
</p>
|
||||
{% endif %}
|
||||
{% if gallery.description %}<p>{{ gallery.description|safe|linebreaksbr }}</p>{% endif %}
|
||||
{% if gallery.description %}<p>{{ gallery.description|linebreaksbr }}</p>{% endif %}
|
||||
|
||||
<div class="card">
|
||||
<div class="card-header pb-0 border-bottom-0">
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@ SPDX-License-Identifier: GPL-3.0-or-later
|
|||
<p class="text-muted small">{% trans "Published" %} {{ object.date_added }}</p>
|
||||
</div>
|
||||
</div>
|
||||
{% if object.caption %}<p>{{ object.caption|safe }}</p>{% endif %}
|
||||
{% if object.caption %}<p>{{ object.caption }}</p>{% endif %}
|
||||
<a href="{{ object.image.url }}">
|
||||
<img src="{{ object.get_display_url }}" class="img-thumbnail" alt="{{ object.title }}">
|
||||
</a>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue