]> projects.mako.cc - selectricity/blobdiff - app/views/quickvote/_candidate_list.rhtml
fix bug with token generator
[selectricity] / app / views / quickvote / _candidate_list.rhtml
index 4ec3db8b24014e9be500974187a93e2fa2132367..9ccb3b1ecb53d2d83011982e1214c2f2ca9b908f 100644 (file)
@@ -2,7 +2,7 @@
 <% 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?