mirror of
https://gitlab.com/octtspacc/staticoso
synced 2025-06-05 22:09:23 +02:00
Fix included Python-Markdown; Fix replacements with escape char
This commit is contained in:
@ -95,6 +95,7 @@ def ReplWithEsc(Str, Find, Repl, Esc='\\'):
|
||||
New = New[:-1]
|
||||
New += Repl + e
|
||||
elif Sects[i-1].endswith(Esc):
|
||||
New = New[:-1]
|
||||
New += Find + e
|
||||
else:
|
||||
New += Repl + e
|
||||
|
Reference in New Issue
Block a user