[openstreetmap/openstreetmap-website] Handle whitespace in social links username display (Issue #6419)
Pablo Brasero
notifications at github.com
Mon Sep 29 09:17:21 UTC 2025
pablobm left a comment (openstreetmap/openstreetmap-website#6419)
Thank you for the report! 🙂
The issue seems to be with the regular expressions used to parse the social links. The one for HDYC should accept spaces, but it doesn't. See [app/models/social_link.rb](https://github.com/openstreetmap/openstreetmap-website/blob/b5800a57d59df9b41a61eab9da3f91faab71a032/app/models/social_link.rb#L34).
This could be a great first issue for new contributors to work on. Anyone up for it? Ideally a PR should also include a unit test, see [test/models/social_link_test.rb](https://github.com/openstreetmap/openstreetmap-website/blob/b5800a57d59df9b41a61eab9da3f91faab71a032/test/models/social_link_test.rb).
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/6419#issuecomment-3345882374
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/issues/6419/3345882374 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20250929/1019f119/attachment.htm>
More information about the rails-dev
mailing list