projects
/
selectricity-live
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
added the ability to add safe html tags to input (i.e., images)
[selectricity-live]
/
app
/
views
/
quickvote
/
_approval_table.rhtml
diff --git
a/app/views/quickvote/_approval_table.rhtml
b/app/views/quickvote/_approval_table.rhtml
index 85185eedf3925aaf41072720c01a175b853a9930..1c16d1d724ae97bfc42012e9d7304106708b83cf 100644
(file)
--- a/
app/views/quickvote/_approval_table.rhtml
+++ b/
app/views/quickvote/_approval_table.rhtml
@@
-2,7
+2,7
@@
<tr>
<td>Candidate</td>
<% @election.approval_result.points.keys.sort.each do |candidate| %>
<tr>
<td>Candidate</td>
<% @election.approval_result.points.keys.sort.each do |candidate| %>
- <th><%=
h @names[candidate]
%></th>
+ <th><%=
white_list(@names[candidate])
%></th>
<% end -%>
</tr>
<% end -%>
</tr>
@@
-12,4
+12,4
@@
<td><%= points %></td>
<% end -%>
</tr>
<td><%= points %></td>
<% end -%>
</tr>
-</table>
\ No newline at end of file
+</table>
Benjamin Mako Hill
||
Want to submit a patch?