[openstreetmap/openstreetmap-website] Clean view markup further (PR #6783)

Tom Hughes notifications at github.com
Sun Feb 8 14:56:26 UTC 2026


@tomhughes commented on this pull request.



> @@ -24,7 +24,7 @@
        } %>
 
     <% types.filter { |type| markers[type] }.each do |type| %>
-      <path id="<%= type %>-path" <%= tag.attributes(markers[type]) %> />
+      <%= tag.path :id => "#{type}-path", :attributes => markers[type] %>

That looks like it should work, yes.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/6783#discussion_r2779366047
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/openstreetmap-website/pull/6783/review/3769843618 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20260208/47c77b48/attachment.htm>


More information about the rails-dev mailing list