fd
This commit is contained in:
parent
ac0b7d41cf
commit
3e45a69b2f
1 changed files with 4 additions and 4 deletions
|
@ -111,10 +111,10 @@ def settings_profile_post(v):
|
||||||
|
|
||||||
bio += f"\n\n"
|
bio += f"\n\n"
|
||||||
|
|
||||||
if bio == v.bio:
|
# if bio == v.bio:
|
||||||
return render_template("settings_profile.html",
|
# return render_template("settings_profile.html",
|
||||||
v=v,
|
# v=v,
|
||||||
error="You didn't change anything")
|
# error="You didn't change anything")
|
||||||
|
|
||||||
with CustomRenderer() as renderer: bio_html = renderer.render(mistletoe.Document(bio))
|
with CustomRenderer() as renderer: bio_html = renderer.render(mistletoe.Document(bio))
|
||||||
bio_html = sanitize(bio_html)
|
bio_html = sanitize(bio_html)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue