diff --git a/app.py b/app.py index 0a2c35b..1ce2071 100644 --- a/app.py +++ b/app.py @@ -308,7 +308,8 @@ def page(sec, body): ("★ PASS · " if pas else "") + "$" + f"{bal/100:.2f}" + " · " + esc(u["username"]) + "") except Exception: acct = "" - return render_template_string(BASE, body=body, bmac=BMAC, o=lambda s: "on" if s == sec else "", + from markupsafe import Markup + return render_template_string(BASE, body=Markup(body), bmac=BMAC, o=lambda s: "on" if s == sec else "", n1=n1, n2=n2, acct=acct) def how(steps):