diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2011-12-17 21:48:26 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2011-12-17 21:48:26 +0000 |
commit | a42ea3ccbbf6ec46884e00f7eee9aae59b01849a (patch) | |
tree | 3dc8545b7f853542e9252b3d7e5f020f7dec4e42 /app/helpers | |
parent | 8677f069ec4b8fd40a5a3dc4af2c65b111e648b7 (diff) | |
download | redmine-a42ea3ccbbf6ec46884e00f7eee9aae59b01849a.tar.gz redmine-a42ea3ccbbf6ec46884e00f7eee9aae59b01849a.zip |
html_safe for Rails3
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8268 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/helpers')
-rw-r--r-- | app/helpers/issues_helper.rb | 4 |
1 files 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('<br />') + }.join('<br />').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?} |