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:
|
if self.escape_markdown:
|
||||||
transformations = {
|
transformations = {
|
||||||
re.escape(c): '\\' + c
|
re.escape(c): '\\' + c
|
||||||
for c in ('*', '`', '_', '~', '\\')
|
for c in ('*', '`', '_', '~', '\\', '||')
|
||||||
}
|
}
|
||||||
|
|
||||||
def replace(obj):
|
def replace(obj):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user