From 62bd9fb4ab01ef8b9ce8664a36b2e81848967e73 Mon Sep 17 00:00:00 2001 From: Vincent Le Goff Date: Sun, 19 Mar 2017 12:33:09 -0700 Subject: [PATCH] The ansi.raw utility now escapes vertical bars --- evennia/utils/ansi.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/evennia/utils/ansi.py b/evennia/utils/ansi.py index f445f2d002..dead3e00bf 100644 --- a/evennia/utils/ansi.py +++ b/evennia/utils/ansi.py @@ -548,7 +548,7 @@ def raw(string): string (str): The raw, escaped string. """ - return string.replace('{', '{{') + return string.replace('{', '{{').replace('|', '||') def group(lst, n):