aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRapptz <[email protected]>2021-02-21 07:35:31 -0500
committerRapptz <[email protected]>2021-02-21 07:35:31 -0500
commitabfc07f968dc777257c2c2ee509bf129e006539d (patch)
treed363e25c5a8833fd79e52bf3a6f835043b332b54
parentFix backslashes showing up in the docs (diff)
downloaddiscord.py-abfc07f968dc777257c2c2ee509bf129e006539d.tar.xz
discord.py-abfc07f968dc777257c2c2ee509bf129e006539d.zip
Fix up previous PR mistake with intentional backslashes
-rw-r--r--discord/utils.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/discord/utils.py b/discord/utils.py
index 5c8e4960..775907ff 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,