Restore missing safe filter

This commit is contained in:
Maël Brunet 2021-05-22 13:20:34 +02:00
parent 7da4487ea9
commit 6121399fe8
2 changed files with 2 additions and 2 deletions

View file

@ -32,7 +32,7 @@ bodyClass: c-home
<div class="c-card__info">
<div>
{% for tag in recipe.data.tags %}
<abbr class="c-card__tag-abbr" title="{{ tag | noEmoji }}">{{ tag | onlyEmoji }}</abbr>
<abbr class="c-card__tag-abbr" title="{{ tag | noEmoji }}">{{ tag | onlyEmoji | safe }}</abbr>
{% endfor %}
</div>
{% if recipe.data.time %}

View file

@ -19,7 +19,7 @@
<div class="c-card__info">
<div>
{% for tag in recipe.data.tags %}
<abbr class="c-card__tag-abbr" title="{{ tag | noEmoji }}">{{ tag | onlyEmoji }}</abbr>
<abbr class="c-card__tag-abbr" title="{{ tag | noEmoji }}">{{ tag | onlyEmoji | safe }}</abbr>
{% endfor %}
</div>
{% if recipe.data.time %}