From a569d9befba46987606acadd7e73cbebc647ffa1 Mon Sep 17 00:00:00 2001 From: antzucaro Date: Sun, 20 Nov 2011 14:34:04 -0500 Subject: [PATCH] Filter the output of nick_html_colors so it is not escaped. --- xonstat/templates/main_index.mako | 4 ++-- xonstat/templates/server_info.mako | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) 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: -- 2.39.2