diff options
| author | Sebastian Law <[email protected]> | 2021-02-21 04:32:11 -0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2021-02-21 07:32:11 -0500 |
| commit | a0c1d6f6c5bdc44c144a650dfdeea85ee59f627a (patch) | |
| tree | ebbd7d2b3cb64fa7d9c6e407c0079ad020f12766 /discord/utils.py | |
| parent | [tasks] make __call__ actually appear in the docs (diff) | |
| download | discord.py-a0c1d6f6c5bdc44c144a650dfdeea85ee59f627a.tar.xz discord.py-a0c1d6f6c5bdc44c144a650dfdeea85ee59f627a.zip | |
Fix backslashes showing up in the docs
Diffstat (limited to 'discord/utils.py')
| -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 775907ff..5c8e4960 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, |