forked from MarseyWorld/MarseyWorld
fix /formatting
parent
e200efba6e
commit
cb45dd0782
|
@ -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)
|
||||
|
|
|
@ -474,7 +474,7 @@
|
|||
<h5 class="mt-4">Allowed Styles</h5>
|
||||
|
||||
<ul>
|
||||
{% for style in allowed_styles %}
|
||||
{% for style in allowed_css_properties %}
|
||||
<li>{{style}}</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
|
|
Loading…
Reference in New Issue