[openstreetmap/openstreetmap-website] Auto-linkify markdown text (Issue #7122)

Minh Nguyễn notifications at github.com
Thu Jun 4 16:05:41 UTC 2026


1ec5 left a comment (openstreetmap/openstreetmap-website#7122)

> For example we don't want to linkify inside code blocks (text rendered within `<code>` and `<pre>` elements), links (rendered with `<a>`)... and I'm not sure if others?

Off the top of my head, we also support `<samp>` which is similar. If we don’t already, we probably should have a list of elements that we don’t want to do transforms inside of.

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

Message ID: <openstreetmap/openstreetmap-website/issues/7122/4623947637 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20260604/369389ed/attachment.htm>


More information about the rails-dev mailing list