Skip to content

Commit

Permalink
Escape HTML in git-cliff-release (#164)
Browse files Browse the repository at this point in the history
  • Loading branch information
janbuchar authored Dec 5, 2024
1 parent fa57eea commit 86e704a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions git-cliff-release/cliff.toml
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@ body = """
- {% if commit.scope %}**{{ commit.scope }}:** {% endif %}\
{% if commit.breaking %}[**breaking**] {% endif %}\
{% if commit.extra.pr_link %}\
{{ commit.message | upper_first | replace(from=commit.extra.raw_pr_link, to=commit.extra.pr_link) }}\
{{ commit.message | escape | upper_first | replace(from=commit.extra.raw_pr_link, to=commit.extra.pr_link) }}\
{% else %}\
{{ commit.message | upper_first }}\
{{ commit.message | escape | upper_first }}\
{% endif %}\
{% if commit.extra.commit_link %} ([{{ commit.id | truncate(length = 7, end = "") }}]({{ commit.extra.commit_link }})){% endif %}\
{% if commit.remote.username and extra.is_release_notes %}\
Expand Down

0 comments on commit 86e704a

Please sign in to comment.