@@ -48,11 +48,11 module IssuesHelper | |||
|
48 | 48 | |
|
49 | 49 | link_to_issue(issue) + "<br /><br />" + |
|
50 | 50 | "<strong>#{@cached_label_project}</strong>: #{link_to_project(issue.project)}<br />" + |
|
51 | "<strong>#{@cached_label_status}</strong>: #{issue.status.name}<br />" + | |
|
51 | "<strong>#{@cached_label_status}</strong>: #{h(issue.status.name)}<br />" + | |
|
52 | 52 | "<strong>#{@cached_label_start_date}</strong>: #{format_date(issue.start_date)}<br />" + |
|
53 | 53 | "<strong>#{@cached_label_due_date}</strong>: #{format_date(issue.due_date)}<br />" + |
|
54 | "<strong>#{@cached_label_assigned_to}</strong>: #{issue.assigned_to}<br />" + | |
|
55 | "<strong>#{@cached_label_priority}</strong>: #{issue.priority.name}" | |
|
54 | "<strong>#{@cached_label_assigned_to}</strong>: #{h(issue.assigned_to)}<br />" + | |
|
55 | "<strong>#{@cached_label_priority}</strong>: #{h(issue.priority.name)}" | |
|
56 | 56 | end |
|
57 | 57 | |
|
58 | 58 | def issue_heading(issue) |
@@ -145,7 +145,7 module IssuesHelper | |||
|
145 | 145 | # links to #index on issues/show |
|
146 | 146 | url_params = controller_name == 'issues' ? {:controller => 'issues', :action => 'index', :project_id => @project} : params |
|
147 | 147 | |
|
148 | content_tag('h3', title) + | |
|
148 | content_tag('h3', h(title)) + | |
|
149 | 149 | queries.collect {|query| |
|
150 | 150 | link_to(h(query.name), url_params.merge(:query_id => query)) |
|
151 | 151 | }.join('<br />') |
General Comments 0
You need to be logged in to leave comments.
Login now