From cb45dd07825637b4fc1cd2d4f1e9da783c8fd14e Mon Sep 17 00:00:00 2001 From: Aevann Date: Mon, 12 Feb 2024 18:19:05 +0200 Subject: [PATCH] fix /formatting --- files/routes/static.py | 2 +- files/templates/formatting.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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