From: antzucaro Date: Sun, 20 Nov 2011 19:34:04 +0000 (-0500) Subject: Filter the output of nick_html_colors so it is not escaped. X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=a569d9befba46987606acadd7e73cbebc647ffa1;p=xonotic%2Fxonstat.git Filter the output of nick_html_colors so it is not escaped. --- diff --git a/xonstat/templates/main_index.mako b/xonstat/templates/main_index.mako index b482efa..132a943 100755 --- a/xonstat/templates/main_index.mako +++ b/xonstat/templates/main_index.mako @@ -37,9 +37,9 @@ Main Page - ${parent.title()} % endif > % if pgstat.player_id > 2: - ${pgstat.nick_html_colors()} + ${pgstat.nick_html_colors()|n} % else: - ${pgstat.nick_html_colors()} + ${pgstat.nick_html_colors()|n} % endif % else: diff --git a/xonstat/templates/server_info.mako b/xonstat/templates/server_info.mako index 5093d29..5f6c2e1 100755 --- a/xonstat/templates/server_info.mako +++ b/xonstat/templates/server_info.mako @@ -49,9 +49,9 @@ Created: ${server.create_dt.strftime('%m/%d/%Y at %I:%M %p')}
% endif > % if pgstat.player_id > 2: - ${pgstat.nick_html_colors()} + ${pgstat.nick_html_colors()|n} % else: - ${pgstat.nick_html_colors()} + ${pgstat.nick_html_colors()|n} % endif % else: