mentions in post bodies - recognise @user@instance syntax in UI

This commit is contained in:
freamon 2025-01-17 17:41:24 +00:00
parent 6ee41578d6
commit 6a4e89149f

View file

@ -100,7 +100,7 @@
{% endif -%}
{% endif -%}
<div class="post_body"{% if post.language_id and post.language.code != 'en' %} lang="{{ post.language.code }}"{% endif %}>
{{ post.body_html|community_links|safe if post.body_html else '' }}
{{ post.body_html | community_links | person_links | safe if post.body_html else '' }}
{% if archive_link -%}
<p><a href="{{ archive_link }}" rel="nofollow ucg noindex" target="_blank">{{ _('Archive.ph link') }} <span class="fe fe-external"></span></a></p>
{% endif -%}