[openstreetmap/openstreetmap-website] Exclude `opening_hours` from semicolon splitting in tags helper (PR #6968)

Kevin Ratzel notifications at github.com
Mon Apr 6 17:58:05 UTC 2026


@GA-Kevin-Codes commented on this pull request.



> +    html = format_value("opening_hours", "Mo-Fr 09:00-12:00;13:00-17:00")
+    dom = parse_html html
+    assert_select dom, "a", 1
+    assert_select dom, "a[rel='nofollow']",
+                  :text => "Mo-Fr 09:00-12:00;Sa 09:00-17:00"

My apologies, corrected.

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

Message ID: <openstreetmap/openstreetmap-website/pull/6968/review/4063576957 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20260406/ca2da11f/attachment.htm>


More information about the rails-dev mailing list