Cleanup reply delete
This commit is contained in:
@@ -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()
|
||||
|
Reference in New Issue
Block a user