From 03d54265fe546cb529b8820470cfc70664919fd0 Mon Sep 17 00:00:00 2001 From: tooomm Date: Thu, 21 May 2026 22:02:09 +0200 Subject: [PATCH] escape ampersand (#6900) --- .ci/prep_release.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.ci/prep_release.sh b/.ci/prep_release.sh index cddf49aa6..7f4f7d961 100755 --- a/.ci/prep_release.sh +++ b/.ci/prep_release.sh @@ -89,6 +89,8 @@ else echo "'$previous' to '$TAG' ($count commits)" # --> is the markdown comment escape sequence, emojis are way better generated_list="${generated_list//-->/→}" + # Escape & to preserve it from commit message into markdown output + generated_list="${generated_list//&/\\&}" body="${body//--REPLACE-WITH-GENERATED-LIST--/$generated_list}" body="${body//--REPLACE-WITH-COMMIT-COUNT--/$count}" body="${body//--REPLACE-WITH-PREVIOUS-RELEASE-TAG--/$previous}"