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

@ -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")