aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorcitrons <citrons>2021-06-23 19:51:08 +0000
committercitrons <citrons>2021-06-23 19:51:08 +0000
commitebe4f5ed73c1bf3641907420c061dfe047e6a9a8 (patch)
tree816f6bb78f0c8ebf83718dca25aa0ef9fd137a66
parentabe17e8567f9e34f87fe24fd504d9affcf6b8aab (diff)
remove the
-rw-r--r--apioforum/mdrender.py6
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)