Skip to content

Commit

Permalink
No special markdown in commits
Browse files Browse the repository at this point in the history
  • Loading branch information
Willy-JL committed May 16, 2024
1 parent 64f2adf commit 6184594
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion indexer/src/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,8 @@ def get_dev_version(self) -> Version:
msg = (
commit.commit.message.splitlines()[0]
.replace("`", "")
.replace("_", "\_")
.replace("__", "")
.replace("**", "")
)
msg = msg[:50] + ("..." if len(msg) > 50 else "")
changelog += f"[`{commit.sha[:8]}`]({commit.html_url}): {msg} - [__{commit.author.login}__](https://github.com/{commit.author.login})\n"
Expand Down

0 comments on commit 6184594

Please sign in to comment.