commands.clean_content: escape || spoilers ||

This commit is contained in:
Benjamin Mintz 2019-02-01 02:37:32 +00:00 committed by Rapptz
parent 4b22dd216c
commit bb9f153d29

View File

@ -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):