]> source.dussan.org Git - redmine.git/commitdiff
Missing html_safe.
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Mon, 2 Jan 2012 17:40:03 +0000 (17:40 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Mon, 2 Jan 2012 17:40:03 +0000 (17:40 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8474 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/helpers/application_helper.rb

index 8ea265d8486f8a4ad70dbe98042ce936b1d046d1..24da000736e579376e4f247cf5a88a4a39facce3 100644 (file)
@@ -85,8 +85,8 @@ module ApplicationHelper
     s = link_to "#{h(issue.tracker)} ##{issue.id}", {:controller => "issues", :action => "show", :id => issue},
                                                  :class => issue.css_classes,
                                                  :title => title
-    s << ": #{h subject}" if subject
-    s = "#{h issue.project} - " + s if options[:project]
+    s << h(": #{subject}") if subject
+    s = h("#{issue.project} - ") + s if options[:project]
     s
   end