pablobm created an issue (openstreetmap/openstreetmap-website#7122)
In https://github.com/openstreetmap/openstreetmap-website/pull/6518 (and
further in https://github.com/openstreetmap/openstreetmap-website/pull/6597) we
implemented "linkification" in plain text: strings like `node/123456` will
automatically turn into links to features/etc in user comments.
Since this was only implemented for plain text, it only works in notes, note
comments, changeset descriptions, and changeset comments, if I'm not missing
anything. Text written in Markdown (diary entries, diary comments, direct
messages, user profiles, etc) is not linkified.
So let's make this work in Markdown!
The problem is that we have to be careful with which specific text to linkify.
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?
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/7122
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/issues/[email protected]>
_______________________________________________
rails-dev mailing list
[email protected]
https://lists.openstreetmap.org/listinfo/rails-dev