Fix trace tag interpolation, and add a test
This commit is contained in:
parent
f635b98b8c
commit
b83c0acbd1
2 changed files with 12 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
|||
<% trace_name = tag.strong(@trace_name) %>
|
||||
<% trace_description = tag.em(@trace_description) %>
|
||||
<% if @trace_tags.length > 0 %>
|
||||
<% tags = @trace_tags.map { tag.tag.rstrip.join(" ") } %>
|
||||
<% tags = @trace_tags.map(&:tag).join(" ") %>
|
||||
<%= t ".description_with_tags_html", :trace_name => trace_name, :trace_description => trace_description, :tags => tags %>
|
||||
<% else %>
|
||||
<%= t ".description_with_no_tags_html", :trace_name => trace_name, :trace_description => trace_description %>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue