diff --git a/files/helpers/bleach_body.py b/files/helpers/bleach_body.py index 2cc9e81c8..b887ad916 100644 --- a/files/helpers/bleach_body.py +++ b/files/helpers/bleach_body.py @@ -4,7 +4,7 @@ from bleach.linkifier import LinkifyFilter from functools import partial from files.helpers.regex import sanitize_url_regex -from files.helpers.const import * +from files.helpers.config.const import * allowed_tags = ('a','audio','b','big','blink','blockquote','br','center','code','del','details','em','g','gl','h1','h2','h3','h4','h5','h6','hr','i','img','li','lite-youtube','marquee','ol','p','pre','rp','rt','ruby','small','span','spoiler','strike','strong','sub','summary','sup','table','tbody','td','th','thead','tr','u','ul','video') allowed_tags_runstime = ('div', 'input', 'label', 'score', 'button')