diff --git a/main.py b/main.py index e83212e..b84e6f7 100755 --- a/main.py +++ b/main.py @@ -814,7 +814,7 @@ def start() -> str: subject = f"Request to use your photo of {name} on Wikipedia" - lines = msg.split("\n\n") + lines = [line for line in msg.strip().split("\n\n") if line.strip()] return flask.render_template( "combined.html",