Browse Source

commands.clean_content: escape || spoilers ||

pull/1887/head
Benjamin Mintz 6 years ago
committed by Rapptz
parent
commit
bb9f153d29
  1. 2
      discord/ext/commands/converter.py

2
discord/ext/commands/converter.py

@ -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…
Cancel
Save