Permalink
Browse files

Don't escape the textarea twice.

  • Loading branch information...
1 parent 234a33c commit c9707eebffcdba4c593fc9ec5c6f1bb2f16bed85 @seancribbs seancribbs committed Sep 5, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 app/views/admin/page_parts/_page_part.html.haml
@@ -14,4 +14,4 @@
= link_to_function 'Available Tags', "load_tag_reference('#{page_part.name.to_slug}');"
= render_region :part_controls, :locals => {:page_part => page_part}
%div
- ~ text_area_tag "page[parts_attributes][#{page_part_counter}][content]", h(page_part.content), :class => "textarea", :style => "width: 100%", :id => "part_#{page_part.name.to_slug}_content"
+ ~ text_area_tag "page[parts_attributes][#{page_part_counter}][content]", page_part.content, :class => "textarea", :style => "width: 100%", :id => "part_#{page_part.name.to_slug}_content"

0 comments on commit c9707ee

Please sign in to comment.