From: Toshi MARUYAMA Date: Sat, 20 Aug 2011 11:16:11 +0000 (+0000) Subject: Rails3: use String#html_safe for parse_redmine_links() at ApplicationHelper. X-Git-Tag: 1.3.0~1474 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=0c30610f4be0b04ad734c44498171d13e5f0207c;p=redmine.git Rails3: use String#html_safe for parse_redmine_links() at ApplicationHelper. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6487 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index cf94f8a66..07c1f7f75 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -709,7 +709,7 @@ module ApplicationHelper end end end - leading + (link || "#{project_prefix}#{prefix}#{sep}#{identifier}") + (leading + (link || "#{project_prefix}#{prefix}#{sep}#{identifier}")).html_safe end end