Permalink
Browse files

Revert "Sanitize part.body in page_part_field partial."

This reverts commit dea0e35.
  • Loading branch information...
ugisozols committed Aug 25, 2012
1 parent 9e3434e commit 25b6213cf757d92131b263dc9ec64fc6ad9ad88c
Showing with 1 addition and 1 deletion.
  1. +1 −1 pages/app/views/refinery/admin/pages/_page_part_field.html.erb
@@ -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.