[openstreetmap/openstreetmap-website] pretty formatting of OSM URLS in notes, changeset comment, and comments (Issue #5780)

Marwin Hochfelsner notifications at github.com
Tue Dec 16 08:24:15 UTC 2025


hlfan left a comment (openstreetmap/openstreetmap-website#5780)

@Dimitar5555, that's an issue in https://github.com/vmg/rinku: it considers everything part of the URL up to the next whitespace, and only then backtracks to trim punctuation. Since it considers Cyrillic characters valid URL characters, it includes them and therefore doesn't backtrack to exclude the punctuation in this case.

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

Message ID: <openstreetmap/openstreetmap-website/issues/5780/3659352359 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20251216/9ff88148/attachment-0001.htm>


More information about the rails-dev mailing list