mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-11 08:34:52 -07:00
escape ampersand (#6900)
This commit is contained in:
parent
491d1c9187
commit
03d54265fe
1 changed files with 2 additions and 0 deletions
|
|
@ -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}"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue