From 60a4ce97a159100b1a0959f63b5d15fd23c7c2e9 Mon Sep 17 00:00:00 2001 From: Arjun Satarkar Date: Mon, 11 Mar 2024 01:46:44 -0400 Subject: markov: escape markdown in exclusion lists --- markov/markov.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/markov/markov.py b/markov/markov.py index 3399581..fd7a501 100644 --- a/markov/markov.py +++ b/markov/markov.py @@ -286,7 +286,7 @@ class Markov(commands.Cog): text += f"{i + 1}. {repr(string)}\n" pages = list( redbot.core.utils.chat_formatting.pagify( - discord.utils.escape_mentions(text) + discord.utils.escape_markdown(discord.utils.escape_mentions(text)) ) ) -- cgit v1.2.3-57-g22cb