mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-10-22 16:32:59 +00:00
commands.clean_content: escape || spoilers ||
This commit is contained in:
@@ -475,7 +475,7 @@ class clean_content(Converter):
|
||||
if self.escape_markdown:
|
||||
transformations = {
|
||||
re.escape(c): '\\' + c
|
||||
for c in ('*', '`', '_', '~', '\\')
|
||||
for c in ('*', '`', '_', '~', '\\', '||')
|
||||
}
|
||||
|
||||
def replace(obj):
|
||||
|
Reference in New Issue
Block a user