The ansi.raw utility now escapes vertical bars

This commit is contained in:
Vincent Le Goff 2017-03-19 12:33:09 -07:00
parent dee0bfe010
commit 62bd9fb4ab

View file

@ -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):