Cleanup reply delete

This commit is contained in:
Thomas Sileo
2019-08-18 18:31:52 +02:00
parent 84a6d0c498
commit d5f25e37cf
4 changed files with 15 additions and 22 deletions

View File

@@ -95,7 +95,7 @@ def clean_html(html):
try:
return bleach.clean(html, tags=ALLOWED_TAGS, strip=True)
except Exception:
return ""
return "failed to clean HTML"
@filters.app_template_filter()