From 2794019d64f3dc779794fb86f21eb87521511514 Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Sat, 20 Aug 2011 23:11:23 +0000 Subject: [PATCH] Rails3: use String#html_safe for render_issue_tooltip() at IssuesHelper. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6495 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/helpers/issues_helper.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/helpers/issues_helper.rb b/app/helpers/issues_helper.rb index c1fb9d7e8..9bc31f196 100644 --- a/app/helpers/issues_helper.rb +++ b/app/helpers/issues_helper.rb @@ -46,13 +46,13 @@ module IssuesHelper @cached_label_priority ||= l(:field_priority) @cached_label_project ||= l(:field_project) - link_to_issue(issue) + "

" + + (link_to_issue(issue) + "

" + "#{@cached_label_project}: #{link_to_project(issue.project)}
" + "#{@cached_label_status}: #{h(issue.status.name)}
" + "#{@cached_label_start_date}: #{format_date(issue.start_date)}
" + "#{@cached_label_due_date}: #{format_date(issue.due_date)}
" + "#{@cached_label_assigned_to}: #{h(issue.assigned_to)}
" + - "#{@cached_label_priority}: #{h(issue.priority.name)}" + "#{@cached_label_priority}: #{h(issue.priority.name)}").html_safe end def issue_heading(issue)