From c941602570e9341de0f9275f8030a94044a50e9c Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Sat, 20 Aug 2011 11:15:35 +0000 Subject: [PATCH] Rails3: use String#html_safe for parse_wiki_links() at ApplicationHelper. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6486 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/helpers/application_helper.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index 9d2c0e8dd..cf94f8a66 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -582,10 +582,10 @@ module ApplicationHelper link_to(h(title || page), url, :class => ('wiki-page' + (wiki_page ? '' : ' new'))) else # project or wiki doesn't exist - all + all.html_safe end else - all + all.html_safe end end end -- 2.39.5