changeset 1157:13ab8b6e8132 redmine-2.2-integration

A couple of further html_safes
author Chris Cannam <chris.cannam@soundsoftware.ac.uk>
date Tue, 15 Jan 2013 15:55:45 +0000
parents 2f6e71e31b55
children 00e9a262ffe5
files plugins/redmine_tags/lib/redmine_tags/patches/projects_helper_patch.rb
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/plugins/redmine_tags/lib/redmine_tags/patches/projects_helper_patch.rb	Tue Jan 15 15:51:29 2013 +0000
+++ b/plugins/redmine_tags/lib/redmine_tags/patches/projects_helper_patch.rb	Tue Jan 15 15:55:45 2013 +0000
@@ -162,7 +162,7 @@
             ancestors.size.times{ s << "</li></ul>" }
             @project = original_project
           end
-          s.join "\n"
+          (s.join "\n").html_safe
         end
 
         # Renders a tree of projects where the current user belongs
@@ -191,7 +191,7 @@
             s = a
           end
 
-          s
+          s.html_safe
 
         end