From 0a182ba98adaed66910cc0798bac63d85f64a03f Mon Sep 17 00:00:00 2001 From: Thomas Farstrike Date: Sat, 8 Nov 2025 10:09:46 +0100 Subject: [PATCH] Update scripts/changelog_to_json.sh --- scripts/changelog_to_json.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/changelog_to_json.sh b/scripts/changelog_to_json.sh index df43b2d4..45175630 100755 --- a/scripts/changelog_to_json.sh +++ b/scripts/changelog_to_json.sh @@ -1,2 +1,4 @@ sed -i "s/\"/'/g" CHANGELOG.md # change double to single quotes -cat CHANGELOG.md | tr -d "\n" | sed 's/- /\\n- /g' +#cat CHANGELOG.md | tr -d "\n" | sed 's/- /\\n- /g' +sed ':a;N;$!ba;s/\n/\\n/g' CHANGELOG.md +