Boostrap custom emoji support

This commit is contained in:
Thomas Sileo 2022-06-26 10:01:26 +02:00
parent 1f67d4e71c
commit b977b64bfb
4 changed files with 36 additions and 8 deletions

View file

@ -114,7 +114,7 @@
{{ display_actor(object.actor, {}) }}
<div>
{{ object.content | clean_html | safe }}
{{ object.content | clean_html(object) | safe }}
</div>
<a href="{{ object.url }}">{{ object.ap_published_at | format_date }}</a>
@ -145,7 +145,7 @@
<a href="{{ object.url }}">{{ object.ap_published_at | timeago }}</a>
</span>
<div class="activity-main">
{{ object.content | clean_html | safe }}
{{ object.content | clean_html(object) | safe }}
</div>
</div>
</div>