]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/user_mailer/_gpx_description.html.erb
Check if db is writable on oauth authorization pages
[rails.git] / app / views / user_mailer / _gpx_description.html.erb
index 42998213693f4cbdc3b5f1df0211fa07a0b02907..85b4c7cae1c0e9f198a69d75128e722f42a09dac 100644 (file)
@@ -2,7 +2,7 @@
 <% trace_name = link_to(trace_name, @trace_url) if @trace_url %>
 <% trace_description = tag.em(@trace_description) %>
 <% if @trace_tags.length > 0 %>
-  <% tags = @trace_tags.map(&:tag).join(" ") %>
+  <% tags = safe_join @trace_tags.map { |trace_tag| tag.em trace_tag.tag }, ", " %>
   <%= 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 %>