@@ -103,17 +103,17 module RepositoriesHelper | |||
|
103 | 103 | :path => path_param, |
|
104 | 104 | :rev => @changeset.identifier) unless c.action == 'D' |
|
105 | 105 | text << " - #{h(c.revision)}" unless c.revision.blank? |
|
106 | text << ' (' + link_to(l(:label_diff), :controller => 'repositories', | |
|
106 | text << ' ('.html_safe + link_to(l(:label_diff), :controller => 'repositories', | |
|
107 | 107 | :action => 'diff', |
|
108 | 108 | :id => @project, |
|
109 | 109 | :path => path_param, |
|
110 | :rev => @changeset.identifier) + ') ' if c.action == 'M' | |
|
111 | text << ' ' + content_tag('span', h(c.from_path), :class => 'copied-from') unless c.from_path.blank? | |
|
110 | :rev => @changeset.identifier) + ') '.html_safe if c.action == 'M' | |
|
111 | text << ' '.html_safe + content_tag('span', h(c.from_path), :class => 'copied-from') unless c.from_path.blank? | |
|
112 | 112 | output << "<li class='#{style}'>#{text}</li>" |
|
113 | 113 | end |
|
114 | 114 | end |
|
115 | 115 | output << '</ul>' |
|
116 | output | |
|
116 | output.html_safe | |
|
117 | 117 | end |
|
118 | 118 | |
|
119 | 119 | def to_utf8(str) |
General Comments 0
You need to be logged in to leave comments.
Login now