Skip to content

Commit

Permalink
Merge pull request #593 from sharkwouter/fix-changelog-builder
Browse files Browse the repository at this point in the history
Make changelog builder able to deal with special characters
  • Loading branch information
sharkwouter committed Jan 30, 2024
2 parents af117bf + 6fd7258 commit a151162
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/create-release.sh
Expand Up @@ -54,7 +54,7 @@ init_metadata() {
add_metadata_entry() {
xmlstarlet ed -L \
-s /component/releases/release[@version="'$VERSION'"]/description/ul \
-t elem -n li -v "$(echo $@|sed 's/^- //')" \
-t elem -n li -v "$(echo $@|sed 's/^- //'|sed 's/&/\&amp;/g; s/</\&lt;/g; s/>/\&gt;/g; s/"/\&quot;/g; s/'"'"'/\&#39;/g')" \
"${METADATA_FILE}"
}

Expand Down

0 comments on commit a151162

Please sign in to comment.