master
Aevann1 2021-09-03 16:49:35 +02:00
parent 424b8cdb5e
commit a3ce6a9d2c
1 changed files with 4 additions and 4 deletions

View File

@ -111,10 +111,10 @@ def settings_profile_post(v):
bio += f"\n\n![]({url})"
if bio == v.bio:
return render_template("settings_profile.html",
v=v,
error="You didn't change anything")
# if bio == v.bio:
# return render_template("settings_profile.html",
# v=v,
# error="You didn't change anything")
with CustomRenderer() as renderer: bio_html = renderer.render(mistletoe.Document(bio))
bio_html = sanitize(bio_html)