From: Ant Zucaro Date: Sat, 24 Dec 2011 01:40:41 +0000 (-0500) Subject: Decode the font when going to HTML. X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=006658c2f715bf3b1d9aafa7bf81e11244a85234;p=xonotic%2Fxonstat.git Decode the font when going to HTML. --- diff --git a/xonstat/util.py b/xonstat/util.py index e2d4e5e..08a1731 100755 --- a/xonstat/util.py +++ b/xonstat/util.py @@ -78,6 +78,7 @@ def strip_colors(qstr=''): def html_colors(qstr=''): + qstr = qfont_decode(qstr) def dec_repl(match): return _dec_spans[int(match.group(1))] qstr = qstr.replace('^^', '^')