The ansi.raw utility now escapes vertical bars
This commit is contained in:
parent
dee0bfe010
commit
62bd9fb4ab
1 changed files with 1 additions and 1 deletions
|
|
@ -548,7 +548,7 @@ def raw(string):
|
||||||
string (str): The raw, escaped string.
|
string (str): The raw, escaped string.
|
||||||
|
|
||||||
"""
|
"""
|
||||||
return string.replace('{', '{{')
|
return string.replace('{', '{{').replace('|', '||')
|
||||||
|
|
||||||
|
|
||||||
def group(lst, n):
|
def group(lst, n):
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue