aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--markov/markov.py2
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))
)
)