Skip to content

Commit

Permalink
Revert "Sanitize part.body in page_part_field partial."
Browse files Browse the repository at this point in the history
This reverts commit dea0e35.
  • Loading branch information
ugisozols committed Aug 25, 2012
1 parent 9e3434e commit 25b6213
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<div class='page_part' id='<%= new_part ? "page_part_new_#{part_index}" : part.to_param %>'>
<%= hidden_field_tag "page[parts_attributes][#{part_index}][title]", part.title if new_part %>
<%= text_area_tag "page[parts_attributes][#{part_index}][body]", sanitize(part.body), :rows => 20, :class => 'wymeditor widest' %>
<%= text_area_tag "page[parts_attributes][#{part_index}][body]", part.body, :rows => 20, :class => 'wymeditor widest' %>
<%= hidden_field_tag "page[parts_attributes][#{part_index}][position]", part_index %>
</div>

0 comments on commit 25b6213

Please sign in to comment.