[openstreetmap/openstreetmap-website] Add URL prettification for plain texts (PR #6518)

Pablo Brasero notifications at github.com
Tue Nov 11 14:42:51 UTC 2025


pablobm left a comment (openstreetmap/openstreetmap-website#6518)

Looking good :eyes: How about a short test that explicitly shows that the reason for 5 digits minimum is to avoid expanding years accidentally? Something like `test_years_not_expanded`. If in the future someone experiments with that number, the test failure should be explanatory.

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

Message ID: <openstreetmap/openstreetmap-website/pull/6518/c3517243328 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20251111/6109fb45/attachment.htm>


More information about the rails-dev mailing list