Skip to content

Commit 457a25a

Browse files
committed
[fix] " not being sanitized in changelogs
1 parent 98449bc commit 457a25a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

scripts/changelog.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ source "$__scripts"
1212
check_git || exit $?
1313
check_var "1" "$1" || exit $?
1414

15-
CHANGELOG="$(git log --format=%s "$1"..."$2" | sed ':a;N;$!ba;s/\n/\\n/g')" || {
15+
CHANGELOG="$(git log --format=%s "$1"..."$2" | sed ':a;N;$!ba;s/\n/\\n/g' | sed 's/"/\\"/g')" || {
1616
echo "[changelog] Failed to create changelog from commits, exiting." >&2
1717
exit 1
1818
}

0 commit comments

Comments
 (0)