Create remove_image_tags filter and apply it to content and summary

This commit is contained in:
Joakim Hellsén 2023-01-21 11:29:12 +01:00
commit 10568a266f
No known key found for this signature in database
GPG key ID: C889E6DC5EDBB36D
4 changed files with 3 additions and 9 deletions

View file

@ -31,6 +31,7 @@ templates.env.filters["encode_url"] = encode_url
templates.env.filters["entry_is_whitelisted"] = entry_is_whitelisted
templates.env.filters["entry_is_blacklisted"] = entry_is_blacklisted
templates.env.filters["discord_markdown"] = convert_to_md
templates.env.filters["remove_image_tags"] = remove_image_tags
@app.post("/add_webhook")