diff --git a/discord/utils.py b/discord/utils.py index 490ab7678..d53d751fe 100644 --- a/discord/utils.py +++ b/discord/utils.py @@ -441,7 +441,7 @@ def escape_markdown(text, *, as_needed=False, ignore_links=True): return is_url return '\\' + groupdict['markdown'] - regex = r'(?P[_\\~|\*`])' + regex = r'(?P[_\\~|\*`]|>(?:>>)?\s)' if ignore_links: regex = '(?:%s|%s)' % (url_regex, regex) return re.sub(regex, replacement, text)