aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorcitrons <citrons@mondecitronne.com>2025-06-18 15:05:17 -0500
committercitrons <citrons@mondecitronne.com>2025-06-18 15:05:17 -0500
commite99904ef7d1dc5583123382a60bdf6233b6cc521 (patch)
treefbaf3995c627e65ff4ad29d85d058eeaa16cb26f
parent332b47e194e4591f38fd79bc57c7d5b8cf5f7f8a (diff)
support all marquee attributes
-rw-r--r--apioforum/mdrender.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/apioforum/mdrender.py b/apioforum/mdrender.py
index 277b027..e9e2feb 100644
--- a/apioforum/mdrender.py
+++ b/apioforum/mdrender.py
@@ -70,6 +70,10 @@ allowed_attributes.update(
iframe=['src','height','width','srcdoc','style'],
ol=['start'],
details=['open'],
+ marquee=[
+ 'behavior', 'bgcolor', 'direction', 'height', 'hspace', 'loop',
+ 'scrollamount', 'scrolldelay', 'truespeed', 'vspace', 'width',
+ ],
)
allowed_tags.extend(bleach.sanitizer.ALLOWED_TAGS)