]> de.git.xonotic.org Git - xonotic/xonstat.git/commitdiff
Filter the output of nick_html_colors so it is not escaped.
authorantzucaro <azucaro@gmail.com>
Sun, 20 Nov 2011 19:34:04 +0000 (14:34 -0500)
committerantzucaro <azucaro@gmail.com>
Sun, 20 Nov 2011 19:34:04 +0000 (14:34 -0500)
xonstat/templates/main_index.mako
xonstat/templates/server_info.mako

index b482efafab9575aab7d581de0b8030498209de00..132a943cd7705ce60a8a3b0d0c5385f2f8a23d35 100755 (executable)
@@ -37,9 +37,9 @@ Main Page - ${parent.title()}
             % endif\r
             >\r
             % if pgstat.player_id > 2:\r
-            <a href="${request.route_url('player_info', id=pgstat.player_id)}" title="Go to the player info page for this player">${pgstat.nick_html_colors()}</a></td>\r
+            <a href="${request.route_url('player_info', id=pgstat.player_id)}" title="Go to the player info page for this player">${pgstat.nick_html_colors()|n}</a></td>\r
             % else:\r
-            ${pgstat.nick_html_colors()}</td>\r
+            ${pgstat.nick_html_colors()|n}</td>\r
             % endif\r
                </tr>\r
                % else:\r
index 5093d29492e0c85c16741d914d497861f6b514ea..5f6c2e1e577454b799a549eadd9615ceaff00c81 100755 (executable)
@@ -49,9 +49,9 @@ Created: ${server.create_dt.strftime('%m/%d/%Y at %I:%M %p')} <br />
             % endif
             >
             % if pgstat.player_id > 2:
-            <a href="${request.route_url('player_info', id=pgstat.player_id)}" title="Go to the player info page for this player">${pgstat.nick_html_colors()}</a></td>
+            <a href="${request.route_url('player_info', id=pgstat.player_id)}" title="Go to the player info page for this player">${pgstat.nick_html_colors()|n}</a></td>
             % else:
-            ${pgstat.nick_html_colors()}</td>
+            ${pgstat.nick_html_colors()|n}</td>
             % endif
                </tr>
                % else: