]> source.dussan.org Git - redmine.git/commitdiff
Rails3: use String#html_safe for parse_redmine_links() at ApplicationHelper.
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Sat, 20 Aug 2011 11:16:11 +0000 (11:16 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Sat, 20 Aug 2011 11:16:11 +0000 (11:16 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6487 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/helpers/application_helper.rb

index cf94f8a66430d46624e0824c9b0343774f160374..07c1f7f75dfbf1a906d5c44178f5286bb77568f3 100644 (file)
@@ -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