[openstreetmap/openstreetmap-website] Exclude `opening_hours` from semicolon splitting in tags helper (PR #6968)
Kevin Ratzel
notifications at github.com
Mon Apr 6 17:01:27 UTC 2026
@GA-Kevin-Codes commented on this pull request.
> @@ -50,6 +50,8 @@ def format_value(key, value)
concat tag.rect :x => 0.5, :y => 0.5, :width => 13, :height => 13, :fill => colour_value, :stroke => "#2222"
end
svg + colour_value
+ elsif key == "opening_hours"
That's a good point, so something like:
```
elsif %w[opening_hours collection_times service_times].include?(key)
tag2link_link(key, value) || linkify(h(value))
```
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/6968#discussion_r3040592067
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/6968/review/4063285008 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20260406/b92a4872/attachment.htm>
More information about the rails-dev
mailing list