commands.clean_content: escape || spoilers ||

This commit is contained in:
Benjamin Mintz
2019-02-06 01:52:12 -05:00
committed by Rapptz
parent 4b22dd216c
commit bb9f153d29
+1 -1
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):