diff --git a/files/routes/static.py b/files/routes/static.py index c06290e58..487f994b3 100644 --- a/files/routes/static.py +++ b/files/routes/static.py @@ -386,7 +386,7 @@ def mutes(v): @limiter.limit(DEFAULT_RATELIMIT, deduct_when=lambda response: response.status_code < 400, key_func=get_ID) @auth_required def formatting(v): - return render_template("formatting.html", v=v, allowed_tags=allowed_tags, allowed_styles=allowed_styles) + return render_template("formatting.html", v=v, allowed_tags=allowed_tags, allowed_css_properties=allowed_css_properties) @app.get("/app") @limiter.limit(DEFAULT_RATELIMIT, deduct_when=lambda response: response.status_code < 400) diff --git a/files/templates/formatting.html b/files/templates/formatting.html index 5b2079756..e99987b04 100644 --- a/files/templates/formatting.html +++ b/files/templates/formatting.html @@ -474,7 +474,7 @@
Allowed Styles