From ebe4f5ed73c1bf3641907420c061dfe047e6a9a8 Mon Sep 17 00:00:00 2001 From: citrons Date: Wed, 23 Jun 2021 19:51:08 +0000 Subject: remove the --- apioforum/mdrender.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/apioforum/mdrender.py b/apioforum/mdrender.py index 2a0c9f5..5f1192b 100644 --- a/apioforum/mdrender.py +++ b/apioforum/mdrender.py @@ -14,8 +14,7 @@ allowed_tags = [ 'mark', 'img', 'marquee', - 'pulsate', - 'color' + 'pulsate' ] allowed_tags += csscolors @@ -23,8 +22,7 @@ allowed_tags += ("mark" + c for c in csscolors) allowed_attributes = bleach.sanitizer.ALLOWED_ATTRIBUTES.copy() allowed_attributes.update( - img='src', - color='color' + img='src' ) allowed_tags.extend(bleach.sanitizer.ALLOWED_TAGS) -- cgit v1.2.3