diff options
author | Arjun Satarkar <me@arjunsatarkar.net> | 2024-03-11 05:46:44 +0000 |
---|---|---|
committer | Arjun Satarkar <me@arjunsatarkar.net> | 2024-03-11 05:46:44 +0000 |
commit | 60a4ce97a159100b1a0959f63b5d15fd23c7c2e9 (patch) | |
tree | f9c98043f6e9099cb62aa31f793399118f0d6f39 | |
parent | afb14f53f4dc43163fe5d8528d94eadaf54fb34d (diff) | |
download | aps-cogs-60a4ce97a159100b1a0959f63b5d15fd23c7c2e9.tar aps-cogs-60a4ce97a159100b1a0959f63b5d15fd23c7c2e9.tar.gz aps-cogs-60a4ce97a159100b1a0959f63b5d15fd23c7c2e9.zip |
markov: escape markdown in exclusion lists
-rw-r--r-- | markov/markov.py | 2 |
1 files changed, 1 insertions, 1 deletions
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)) ) ) |