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

Marwin Hochfelsner notifications at github.com
Mon Apr 6 17:40:33 UTC 2026


@hlfan 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"

So which afternoon is it?

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

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


More information about the rails-dev mailing list