fix: 2 new lines after </summary>

This commit is contained in:
张泊明518370910136 2024-10-10 00:24:55 -04:00
parent 2f9c875d91
commit 6888ce51d9
GPG Key ID: CA088E6D9284F870

View File

@ -205,7 +205,7 @@ def generate_title_and_comment(
comment += "<details>"
comment += f"<summary>Case {i} - Score: {result['score']}</summary>\n"
if result["comment"].strip() != "":
comment += f"{result['comment']}\n"
comment += f"\n{result['comment']}\n"
comment += "</details>\n\n"
total_score += result["score"]
comment += "\n"