feat: use enhance-content to style and manipulate content tags

This commit is contained in:
Ayo Ayco 2025-01-18 22:24:09 +01:00
parent 165a00570e
commit 5abf927a5d

View file

@ -24,7 +24,10 @@
</div>
<div class="body">
{{thread.content | safe}}
<enhance-content data-server={{server}} data-tag-url={{url_for('threads.tag', id='' )}}>
{{thread.content | safe}}
</enhance-content>
{% for media in thread.media_attachments %}
{% if media.type == 'image'%}
<a href="{{ media.url }}">