mirror of
https://github.com/evennia/evennia.git
synced 2026-03-27 02:06:32 +01:00
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.
|
||||
|
||||
"""
|
||||
return string.replace('{', '{{')
|
||||
return string.replace('{', '{{').replace('|', '||')
|
||||
|
||||
|
||||
def group(lst, n):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue