X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/f635b98b8cf58954266fcf7b40bd22d698fd8388..d28ab8d3f2bac8910426cada0b3e2c602e48f3cc:/app/views/user_mailer/_gpx_description.html.erb diff --git a/app/views/user_mailer/_gpx_description.html.erb b/app/views/user_mailer/_gpx_description.html.erb index ac60ef7b9..50fcd6960 100644 --- a/app/views/user_mailer/_gpx_description.html.erb +++ b/app/views/user_mailer/_gpx_description.html.erb @@ -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 %>