mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-05-15 18:29:52 +00:00
commands.clean_content: escape || spoilers ||
This commit is contained in:
parent
4b22dd216c
commit
bb9f153d29
@ -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):
|
||||
|
Loading…
x
Reference in New Issue
Block a user