]> projects.mako.cc - selectricity-live/blobdiff - app/views/quickvote/_pref_table.rhtml
Merge from head
[selectricity-live] / app / views / quickvote / _pref_table.rhtml
index 01de22bfa8efba944478c66b1dc5517cee015523..011fcbe8ac2d29aa7b2147797e249f99c3b57389 100644 (file)
@@ -9,11 +9,13 @@
   <tr>
        <td> </td>
        <% candidates.each do |candidate| -%>
-         <th><%= names[candidate] -%></th>
-       <% end -%>
+         <th><%=h names[candidate] -%></th>
+  <% end -%>
+</tr>
+
 <% candidates.each do |winner| -%>
   <tr>
-       <th><%= names[winner] %></th>
+       <th><%=h names[winner] %></th>
   <% candidates.each do |loser| -%> 
     <% if winner == loser -%>
       <td> -- </td>
@@ -27,4 +29,4 @@
   <% end -%>
  </tr>
 <% end -%>
-
+</table>

Benjamin Mako Hill || Want to submit a patch?