]> git.openstreetmap.org Git - rails.git/blobdiff - app/helpers/browse_helper.rb
Avoid various uses of html_safe
[rails.git] / app / helpers / browse_helper.rb
index 4519567d2b7f8f7af1c81b8cd3b5f4704576f9cf..1e9465f8035d179a1b6592a6a0bbf820f86d4eab 100644 (file)
@@ -44,7 +44,7 @@ module BrowseHelper
     if object.redacted?
       ""
     else
-      h(icon_tags(object).map { |k, v| k + "=" + v }.to_sentence)
+      h(icon_tags(object).map { |k, v| "#{k}=#{v}" }.to_sentence)
     end
   end