Skip to content

Commit 6c26ebd

Browse files
committed
fix: added escaping of html elements in commit messages for changelog generation
1 parent 5f833cf commit 6c26ebd

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

scripts/build_changelog.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,8 @@ def msg_processed(self) -> str:
123123
rf"[`\0`](https://github.com/{self.org}/{self.repo}/issues/\0)",
124124
s,
125125
)
126+
# wrap html elements in backticks, if not already wrapped
127+
s = re.sub(r"(?<!`)<([^>]+)>(?!`)", r"`<\1>`", s)
126128
return s
127129

128130
def parse_type(self) -> Optional[Tuple[str, str]]:

scripts/changelog_contributors.csv

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ Drarig29 corentingirard.dev@gmail.com
88
Elijah-Bodden 106613755+Elijah-Bodden@users.noreply.github.com
99
Furffico 43836984+Furffico@users.noreply.github.com
1010
GabLeRoux lebreton.gabriel@gmail.com
11+
Game4Move78 83040764+Game4Move78@users.noreply.github.com
1112
Julianoe Julianoe@users.noreply.github.com
1213
LockBlock-dev 68129141+LockBlock-dev@users.noreply.github.com
1314
LunarWatcher zoe.i2k1@gmail.com
@@ -64,4 +65,5 @@ victorlin 13424970+victorlin@users.noreply.github.com
6465
victorwinberg victor.m.winberg@gmail.com
6566
vieteh viet.tran@employmenthero.com
6667
xylix kerk.pelt@gmail.com
68+
yuhldr yuhldr@qq.com
6769
yumemio 59369226+yumemio@users.noreply.github.com

0 commit comments

Comments
 (0)