X-Git-Url: https://projects.mako.cc/source/selectricity/blobdiff_plain/796f9d2f4d178419346feae82f3b3f7d30c5b2b2..059813befe57bab83dbc84627149f1af08d1c850:/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 -%> - +