Like #5844, but for wiki links that are also common in comments.

Before:
![image](https://github.com/user-attachments/assets/06edebe0-b6e0-4f71-bbfe-cbb945bf0d75)

After:
![image](https://github.com/user-attachments/assets/9d02dad6-5e44-4269-a8eb-0df472ba6bff)

You can view, comment on, or merge this pull request online at:

  https://github.com/openstreetmap/openstreetmap-website/pull/5855

-- Commit Summary --

  * Shorten matching wiki urls in linkify

-- File Changes --

    M config/settings.yml (4)
    M lib/rich_text.rb (14)
    M test/lib/rich_text_test.rb (12)

-- Patch Links --

https://github.com/openstreetmap/openstreetmap-website/pull/5855.patch
https://github.com/openstreetmap/openstreetmap-website/pull/5855.diff

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

Message ID: <openstreetmap/openstreetmap-website/pull/5...@github.com>
_______________________________________________
rails-dev mailing list
rails-dev@openstreetmap.org
https://lists.openstreetmap.org/listinfo/rails-dev

Reply via email to