Fix unicode emojis display

This commit is contained in:
Thomas Sileo 2019-11-02 09:52:04 +01:00
parent 1227dd5236
commit 08cdcd6b50

View file

@ -137,7 +137,7 @@
{% if obj | has_type(['Article', 'Page']) %} {% if obj | has_type(['Article', 'Page']) %}
{{ obj.name }} <a href="{{ obj | url_or_id | get_url }}">{{ obj | url_or_id | get_url }}</a> {{ obj.name }} <a href="{{ obj | url_or_id | get_url }}">{{ obj | url_or_id | get_url }}</a>
{% elif obj | has_type('Question') %} {% elif obj | has_type('Question') %}
{{ obj.content | clean | update_inline_imgs | replace_custom_emojis(obj) | code_highlight | safe }} {{ obj.content | update_inline_imgs | clean | replace_custom_emojis(obj) | code_highlight | safe }}
<ul style="list-style:none;padding:0;"> <ul style="list-style:none;padding:0;">
@ -206,7 +206,7 @@
{% else %} {% else %}
{{ obj.content | clean | update_inline_imgs | replace_custom_emojis(obj) | code_highlight | safe }} {{ obj.content | update_inline_imgs | clean | replace_custom_emojis(obj) | code_highlight | safe }}
{% endif %} {% endif %}
{% if obj | has_place %} {% if obj | has_place %}