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

app/helpers/issues_helper.rb

index c1fb9d7e83e4d046db08ab866fda523c7fd36c4f..9bc31f1960fb5541c56ffbc4b862c022a4558e0d 100644 (file)
@@ -46,13 +46,13 @@ module IssuesHelper
     @cached_label_priority ||= l(:field_priority)
     @cached_label_project ||= l(:field_project)
 
-    link_to_issue(issue) + "<br /><br />" +
+    (link_to_issue(issue) + "<br /><br />" +
       "<strong>#{@cached_label_project}</strong>: #{link_to_project(issue.project)}<br />" +
       "<strong>#{@cached_label_status}</strong>: #{h(issue.status.name)}<br />" +
       "<strong>#{@cached_label_start_date}</strong>: #{format_date(issue.start_date)}<br />" +
       "<strong>#{@cached_label_due_date}</strong>: #{format_date(issue.due_date)}<br />" +
       "<strong>#{@cached_label_assigned_to}</strong>: #{h(issue.assigned_to)}<br />" +
-      "<strong>#{@cached_label_priority}</strong>: #{h(issue.priority.name)}"
+      "<strong>#{@cached_label_priority}</strong>: #{h(issue.priority.name)}").html_safe
   end
 
   def issue_heading(issue)