Skip to content

Commit 378e733

Browse files
committed
Fix the text-emoji usage in emojify Twig filter
1 parent 92bf5c8 commit 378e733

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

string.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -660,14 +660,14 @@ actual emoji thanks to the :ref:`emojify filter <reference-twig-filter-emojify>`
660660
{# renders: My 🐢 loves to eat 🥗 #}
661661
662662
If you are not sure about how the emojis were transliterated, you can use the
663-
:ref:`text-emoji catalog <string-text-emoji>`, which merges the emoji text codes
664-
of all services:
663+
:ref:`text catalog <string-text-emoji>`, which merges the emoji text codes of
664+
all services:
665665

666666
.. code-block:: twig
667667
668-
{{ 'I like :kiwi-fruit:'|emojify('text-emoji') }} {# renders: I like 🥝 #}
669-
{{ 'I like :kiwi:'|emojify('text-emoji') }} {# renders: I like 🥝 #}
670-
{{ 'I like :kiwifruit:'|emojify('text-emoji') }} {# renders: I like 🥝 #}
668+
{{ 'I like :kiwi-fruit:'|emojify('text') }} {# renders: I like 🥝 #}
669+
{{ 'I like :kiwi:'|emojify('text') }} {# renders: I like 🥝 #}
670+
{{ 'I like :kiwifruit:'|emojify('text') }} {# renders: I like 🥝 #}
671671
672672
Removing Emojis
673673
~~~~~~~~~~~~~~~

0 commit comments

Comments
 (0)