added the ability to add safe html tags to input (i.e., images)
[selectricity-live] / app / views / quickvote / results.rhtml
index 8d8bf5f15d88b9413d534e6930ae8bf5314107d6..78e74e89191103180e249cece519720474be61b5 100644 (file)
@@ -23,7 +23,7 @@
 
 <ol>
   <% for candidate in @election.candidates.sort %>
-    <li><%=h candidate.name.capitalize %></li>
+    <li><%= white_list(candidate.name.capitalize) %></li>
   <% end %>
 </ol>
 

Benjamin Mako Hill || Want to submit a patch?