X-Git-Url: https://projects.mako.cc/source/selectricity-live/blobdiff_plain/796f9d2f4d178419346feae82f3b3f7d30c5b2b2..ee7a5c7130df812e96922e9f47ed9355cc78e72c:/app/views/quickvote/_pref_table.rhtml diff --git a/app/views/quickvote/_pref_table.rhtml b/app/views/quickvote/_pref_table.rhtml index 01de22b..011fcbe 100644 --- a/app/views/quickvote/_pref_table.rhtml +++ b/app/views/quickvote/_pref_table.rhtml @@ -9,11 +9,13 @@ <% candidates.each do |candidate| -%> - <%= names[candidate] -%> - <% end -%> + <%=h names[candidate] -%> + <% end -%> + + <% candidates.each do |winner| -%> - <%= names[winner] %> + <%=h names[winner] %> <% candidates.each do |loser| -%> <% if winner == loser -%> -- @@ -27,4 +29,4 @@ <% end -%> <% end -%> - +