forked from MarseyWorld/MarseyWorld
fix
parent
d59f346f0b
commit
3801189188
|
@ -599,7 +599,8 @@ def settings_css(v):
|
||||||
|
|
||||||
css = request.values.get("css").strip().replace('\\', '').strip()[:4000]
|
css = request.values.get("css").strip().replace('\\', '').strip()[:4000]
|
||||||
|
|
||||||
if '</style>' in css.lower(): return {"error": "Please message @Aevann if you get this error"}
|
if '</style' in css.lower():
|
||||||
|
return {"error": "Please message @Aevann if you get this error"}
|
||||||
|
|
||||||
v.css = css
|
v.css = css
|
||||||
g.db.add(v)
|
g.db.add(v)
|
||||||
|
|
Loading…
Reference in New Issue