diff options
-rw-r--r-- | apioforum/mdrender.py | 6 |
1 files 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) |