Escape HTML elements in commit messages

This commit is contained in:
Tobi Schäfer 2025-03-01 19:21:42 +01:00
parent d9d3c9b863
commit e3a7732837
Signed by: tobi
GPG key ID: 91FAE6FE2EBAC4C8

View file

@ -17,7 +17,7 @@ body = """
* [<tt>{{ commit.id | split(pat="") | slice(end=11) | join() }}</tt>]\
(https://code.host.antville.org/antville/helma/commit/{{ commit.id }}) \
{% if commit.breaking %}**Breaking:** {% endif %}\
{{ commit.message | split(pat="\\n") | first | upper_first }}\
{{ commit.message | split(pat="\\n") | first | upper_first | escape }}\
{% endfor %}
{% endfor %}