From 6184594196f8098ea56aba049b57dec18aa8fc69 Mon Sep 17 00:00:00 2001 From: Willy-JL <49810075+Willy-JL@users.noreply.github.com> Date: Thu, 16 May 2024 07:57:17 +0100 Subject: [PATCH] No special markdown in commits --- indexer/src/models.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/indexer/src/models.py b/indexer/src/models.py index 608ee6b..d2be1a4 100644 --- a/indexer/src/models.py +++ b/indexer/src/models.py @@ -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"