From e99904ef7d1dc5583123382a60bdf6233b6cc521 Mon Sep 17 00:00:00 2001 From: citrons Date: Wed, 18 Jun 2025 15:05:17 -0500 Subject: support all marquee attributes --- apioforum/mdrender.py | 4 ++++ 1 file changed, 4 insertions(+) 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) -- cgit v1.2.3