Create remove_image_tags filter and apply it to content and summary

This commit is contained in:
2023-01-21 11:29:12 +01:00
parent c48b2b1bf6
commit 10568a266f
4 changed files with 3 additions and 9 deletions

View File

@ -117,7 +117,7 @@
{% raw %}
{{ entry_content }}
{% endraw %}
</code>{{ entry.content[0].value|discord_markdown }}
</code>{{ entry.content[0].value|discord_markdown|remove_image_tags }}
</li>
<li>
<code>
@ -173,7 +173,7 @@
{% raw %}
{{ entry_summary }}
{% endraw %}
</code>{{ entry.summary|discord_markdown }}
</code>{{ entry.summary|discord_markdown|remove_image_tags }}
</li>
<li>
<code>