diff --git a/main b/main index 17a2a47..13868d1 100644 --- a/main +++ b/main @@ -159,7 +159,7 @@ def user(pageusername): @app.route("/api/page/", methods=("GET", "POST")) def apipageuser(userid): pageuser = get_user(userid) - addhtml = """""" + addhtml = """ """ if not pageuser == "error": return addhtml + pageuser["htmldescription"] @@ -179,7 +179,7 @@ def edituser(pageusername): user = get_user(userCookie["id"]) if pageuser["username"] == user["username"]: if request.method == "POST": - code = request.form["code"].replace("Content-Security-Policy", "") + code = request.form["code"].replace("Content-Security-Policy", "").replace("