From d4cb680199c231e3af91c221b4a3a4ff0df0f605 Mon Sep 17 00:00:00 2001 From: cuom1999 Date: Mon, 3 Apr 2023 02:27:35 -0500 Subject: [PATCH] Fix bleach markdown --- judge/jinja2/markdown/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/judge/jinja2/markdown/__init__.py b/judge/jinja2/markdown/__init__.py index b0bc6f6..fa78791 100644 --- a/judge/jinja2/markdown/__init__.py +++ b/judge/jinja2/markdown/__init__.py @@ -36,7 +36,7 @@ EXTENSION_CONFIGS = { }, } -ALLOWED_TAGS = bleach.sanitizer.ALLOWED_TAGS + [ +ALLOWED_TAGS = list(bleach.sanitizer.ALLOWED_TAGS) + [ "img", "center", "iframe",