Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Don't escape the textarea twice.

  • Loading branch information...
commit c9707eebffcdba4c593fc9ec5c6f1bb2f16bed85 1 parent 234a33c
Sean Cribbs authored September 05, 2009
2  app/views/admin/page_parts/_page_part.html.haml
@@ -14,4 +14,4 @@
14 14
           = link_to_function 'Available Tags', "load_tag_reference('#{page_part.name.to_slug}');"
15 15
       = render_region :part_controls, :locals => {:page_part => page_part}
16 16
     %div
17  
-      ~ 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"
  17
+      ~ 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 notes on commit c9707ee

Please sign in to comment.
Something went wrong with that request. Please try again.