1
0
Fork 0
mirror of https://github.com/TheThomaas/my-online-cookbook.git synced 2026-01-11 12:11:50 +00:00

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 class="c-card__info">
<div> <div>
{% for tag in recipe.data.tags %} {% 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 %} {% endfor %}
</div> </div>
{% if recipe.data.time %} {% if recipe.data.time %}

View file

@ -19,7 +19,7 @@
<div class="c-card__info"> <div class="c-card__info">
<div> <div>
{% for tag in recipe.data.tags %} {% 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 %} {% endfor %}
</div> </div>
{% if recipe.data.time %} {% if recipe.data.time %}