From abfc07f968dc777257c2c2ee509bf129e006539d Mon Sep 17 00:00:00 2001 From: Rapptz Date: Sun, 21 Feb 2021 07:35:31 -0500 Subject: [PATCH] Fix up previous PR mistake with intentional backslashes --- discord/utils.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/discord/utils.py b/discord/utils.py index 5c8e4960e..775907ff6 100644 --- a/discord/utils.py +++ b/discord/utils.py @@ -492,8 +492,8 @@ def escape_markdown(text, *, as_needed=False, ignore_links=True): as_needed: :class:`bool` Whether to escape the markdown characters as needed. This means that it does not escape extraneous characters if it's - not necessary, e.g. ``**hello**`` is escaped into ``**hello**`` - instead of ``**hello**``. Note however that this can open + not necessary, e.g. ``**hello**`` is escaped into ``\*\*hello**`` + instead of ``\*\*hello\*\*``. Note however that this can open you up to some clever syntax abuse. Defaults to ``False``. ignore_links: :class:`bool` Whether to leave links alone when escaping markdown. For example,