diff options
| author | Rapptz <[email protected]> | 2021-02-21 07:35:31 -0500 |
|---|---|---|
| committer | Rapptz <[email protected]> | 2021-02-21 07:35:31 -0500 |
| commit | abfc07f968dc777257c2c2ee509bf129e006539d (patch) | |
| tree | d363e25c5a8833fd79e52bf3a6f835043b332b54 | |
| parent | Fix backslashes showing up in the docs (diff) | |
| download | discord.py-abfc07f968dc777257c2c2ee509bf129e006539d.tar.xz discord.py-abfc07f968dc777257c2c2ee509bf129e006539d.zip | |
Fix up previous PR mistake with intentional backslashes
| -rw-r--r-- | discord/utils.py | 4 |
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, |