##// END OF EJS Templates
HTML escape at app/views/attachments/diff.rhtml....
Toshi MARUYAMA -
r6241:500b29d84cc9
parent child
Show More
@@ -2,7 +2,7
2
2
3 <div class="attachments">
3 <div class="attachments">
4 <p><%= h("#{@attachment.description} - ") unless @attachment.description.blank? %>
4 <p><%= h("#{@attachment.description} - ") unless @attachment.description.blank? %>
5 <span class="author"><%= @attachment.author %>, <%= format_time(@attachment.created_on) %></span></p>
5 <span class="author"><%= link_to_user(@attachment.author) %>, <%= format_time(@attachment.created_on) %></span></p>
6 <p><%= link_to_attachment @attachment, :text => l(:button_download), :download => true -%>
6 <p><%= link_to_attachment @attachment, :text => l(:button_download), :download => true -%>
7 <span class="size">(<%= number_to_human_size @attachment.filesize %>)</span></p>
7 <span class="size">(<%= number_to_human_size @attachment.filesize %>)</span></p>
8
8
@@ -10,7 +10,7
10 &nbsp;
10 &nbsp;
11 <%= render :partial => 'common/diff', :locals => {:diff => @diff, :diff_type => @diff_type} %>
11 <%= render :partial => 'common/diff', :locals => {:diff => @diff, :diff_type => @diff_type} %>
12
12
13 <% html_title @attachment.filename %>
13 <% html_title h(@attachment.filename) %>
14
14
15 <% content_for :header_tags do -%>
15 <% content_for :header_tags do -%>
16 <%= stylesheet_link_tag "scm" -%>
16 <%= stylesheet_link_tag "scm" -%>
General Comments 0
You need to be logged in to leave comments. Login now