Improvements

This commit is contained in:
Edward Betts 2023-09-08 01:52:04 +01:00
parent 084c886933
commit bec16f8dcb
4 changed files with 40 additions and 12 deletions

View file

@ -48,7 +48,11 @@ def show_message() -> str:
wiki_part2=wiki_part2,
)
return flask.render_template("show_message.html", msg=msg)
subject = f"Request to use your photo of {name} on Wikipedia"
lines = msg.split("\n\n")
return flask.render_template("show_message.html", subject=subject, lines=lines)
if __name__ == "__main__":