Permalink
Browse files

Testing annotations

  • Loading branch information...
lejaokri committed May 27, 2012
1 parent aee21fd commit 200a10d58b981aec70a6a6d7f1aed2b3fdbc2587
Showing with 1 addition and 1 deletion.
  1. +1 −1 app/views/annotations/create.rjs
@@ -4,7 +4,7 @@ if(@text.annotation_category_id != nil)
page.replace_html "annotation_text_list_#{@text.annotation_category_id}", :partial => 'annotation_list', :locals => {:annotation_category => @text.annotation_category}
end
-page.call(:add_annotation_text, @text.id, simple_format(h(@text.content)))
+page.call(:add_annotation_text, @text.id, simple_format(h(CGI.unescape((@text.content))))
page << @annotation.add_annotation_js_string
page.call :hide_all_annotation_content_editors

0 comments on commit 200a10d

Please sign in to comment.