[openstreetmap/openstreetmap-website] Deconvolute linkify logic (PR #6720)
Marwin Hochfelsner
notifications at github.com
Sun Jan 18 14:03:45 UTC 2026
This PR adds flags to the linkify method to more clearly indicate what is being executed.
This is built on dropped parts from #5862 and #6674.
You can view, comment on, or merge this pull request online at:
https://github.com/openstreetmap/openstreetmap-website/pull/6720
-- Commit Summary --
* Split linkify shortening functions
* Forward normalisation rule to shorten_host
* Explicitly disable path processing in HTML/Markdown linkification
-- File Changes --
M lib/rich_text.rb (73)
-- Patch Links --
https://github.com/openstreetmap/openstreetmap-website/pull/6720.patch
https://github.com/openstreetmap/openstreetmap-website/pull/6720.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/6720
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/6720 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20260118/eb90586e/attachment.htm>
More information about the rails-dev
mailing list