<% content_for :heading do %>
- <h2><%= t ".heading", :name => h(@trace.name) %></h2>
+ <h2><%= t ".heading", :name => @trace.name %></h2>
<% end %>
<% if Settings.status != "gpx_offline" %>
<% end %>
<% end %>
-<table border="0">
+<table class="table table-borderless table-sm">
<tr>
<td><%= t ".filename" %></td>
<td><%= @trace.name %> (<%= link_to t(".download"), trace_data_path(@trace) %>)</td>
<% end %>
<tr>
<td><%= t ".owner" %></td>
- <td><%= link_to h(@trace.user.display_name), user_path(@trace.user) %></td>
+ <td><%= link_to @trace.user.display_name, user_path(@trace.user) %></td>
</tr>
<tr>
<td><%= t ".description" %></td>
- <td><%= h(@trace.description) %></td>
+ <td><%= @trace.description %></td>
</tr>
<tr>
<td><%= t ".tags" %></td>
<td>
<% unless @trace.tags.empty? %>
- <%= raw(@trace.tags.collect { |tag| link_to tag.tag, :controller => "traces", :action => "index", :tag => tag.tag, :id => nil }.join(", ")) %>
+ <%= safe_join(@trace.tags.collect { |tag| link_to tag.tag, :controller => "traces", :action => "index", :tag => tag.tag, :id => nil }, ", ") %>
<% else %>
<i><%= t ".none" %></i>
<% end %>