From ce80be46bc10bb6fdc0ad04367502d3491481f20 Mon Sep 17 00:00:00 2001 From: Marcel van der Veldt Date: Wed, 26 Nov 2025 22:26:17 +0100 Subject: [PATCH] fix newlines in important notes of release notes --- .github/actions/generate-release-notes/generate_notes.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/actions/generate-release-notes/generate_notes.py b/.github/actions/generate-release-notes/generate_notes.py index 2c8d7af3..e857f640 100755 --- a/.github/actions/generate-release-notes/generate_notes.py +++ b/.github/actions/generate-release-notes/generate_notes.py @@ -206,7 +206,9 @@ def generate_release_notes( # noqa: PLR0915 if important_notes and important_notes.strip(): lines.append("## ⚠️ Important Notes") lines.append("") - lines.append(important_notes.strip()) + # Convert literal \n to actual newlines and preserve existing newlines + formatted_notes = important_notes.strip().replace("\\n", "\n") + lines.append(formatted_notes) lines.append("") lines.append("---") lines.append("") -- 2.34.1