From a42ea3ccbbf6ec46884e00f7eee9aae59b01849a Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Sat, 17 Dec 2011 21:48:26 +0000 Subject: [PATCH] html_safe for Rails3 git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8268 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/helpers/issues_helper.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/helpers/issues_helper.rb b/app/helpers/issues_helper.rb index 9b8828d7a..03bc60355 100644 --- a/app/helpers/issues_helper.rb +++ b/app/helpers/issues_helper.rb @@ -147,11 +147,11 @@ module IssuesHelper content_tag('h3', h(title)) + queries.collect {|query| link_to(h(query.name), url_params.merge(:query_id => query)) - }.join('
') + }.join('
').html_safe end def render_sidebar_queries - out = '' + out = ''.html_safe queries = sidebar_queries.select {|q| !q.is_public?} out << query_links(l(:label_my_queries), queries) if queries.any? queries = sidebar_queries.select {|q| q.is_public?}