]> projects.mako.cc - selectricity/blobdiff - app/views/quickvote/_candidate_list.rhtml
merged in from code from the other master
[selectricity] / app / views / quickvote / _candidate_list.rhtml
index 76de0ac59e25c40512a466deb13a0af620ddbdd6..9ccb3b1ecb53d2d83011982e1214c2f2ca9b908f 100644 (file)
@@ -1,9 +1,8 @@
-<% %>
 <!-- the list of candidates -->
 <% if flash[:candidate_names] %>
   <ul>
   <% for cand in flash[:candidate_names] %>
-    <li><%=h cand.capitalize %></li>
+    <li><%= white_list(cand.capitalize) %></li>
   <% end %>
   </ul>
 <% end %>

Benjamin Mako Hill || Want to submit a patch?