aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--apioforum/mdrender.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/apioforum/mdrender.py b/apioforum/mdrender.py
index 715617e..2a0c9f5 100644
--- a/apioforum/mdrender.py
+++ b/apioforum/mdrender.py
@@ -14,7 +14,8 @@ allowed_tags = [
'mark',
'img',
'marquee',
- 'pulsate'
+ 'pulsate',
+ 'color'
]
allowed_tags += csscolors
@@ -23,6 +24,7 @@ allowed_tags += ("mark" + c for c in csscolors)
allowed_attributes = bleach.sanitizer.ALLOWED_ATTRIBUTES.copy()
allowed_attributes.update(
img='src',
+ color='color'
)
allowed_tags.extend(bleach.sanitizer.ALLOWED_TAGS)