]> de.git.xonotic.org Git - xonotic/xonstat.git/commitdiff
Decode the font when going to HTML.
authorAnt Zucaro <azucaro@gmail.com>
Sat, 24 Dec 2011 01:40:41 +0000 (20:40 -0500)
committerAnt Zucaro <azucaro@gmail.com>
Sat, 24 Dec 2011 01:40:41 +0000 (20:40 -0500)
xonstat/util.py

index e2d4e5eb4d6e8bc04dd12fd1c95d34cffb31ba75..08a173146690ee1326a6484d8aebef4cb15ce413 100755 (executable)
@@ -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('^^', '^')