changeset 1307:06de38acb6b4 redmine-2.2-integration

escaping the html on two helper functions.
author luisf <luis.figueira@eecs.qmul.ac.uk>
date Mon, 17 Jun 2013 15:25:51 +0100
parents af51e7e3e846
children 3783c5b32eb3
files plugins/redmine_bibliography/app/helpers/publications_helper.rb
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/plugins/redmine_bibliography/app/helpers/publications_helper.rb	Mon Jun 17 15:22:19 2013 +0100
+++ b/plugins/redmine_bibliography/app/helpers/publications_helper.rb	Mon Jun 17 15:25:51 2013 +0100
@@ -93,7 +93,7 @@
       s << "<br /><em>#{authorship.institution}</em></p>"
     end
 
-    s
+    s.html_safe
   end
 
   def render_projects_list(publication, show_delete_icon)
@@ -118,7 +118,7 @@
       s << "<br />"
     end
 
-    s
+    s.html_safe
   end
 
   def print_ieee_format(publication)