Here’s a link to a web site that’s purposefully been made non-clickable by wrapping it in back ticks, eg:
`https://www.example.com`
It then displays like this:
https://www.example.com
Not clickable
Here’s a link to a web site that’s purposefully been made non-clickable by wrapping it in back ticks, eg:
`https://www.example.com`
It then displays like this:
https://www.example.com
Not clickable
But now if I quote that link:
It becomes clickable
Thanks for the pr-welcome tag @nat
From the title, I thought this had something to do with some (probably ill-advised) javascript blocking right-clicks.
Maybe: “When URLs intentionally made unclickable via backticks are quoted, they’re rendered as hyperlinks”?
The behavior is different depending on the selection method.
Select before and after content: it captures the whole markdown, and keeps the backticks.
Select the line manually by dragging the mouse selects only the text, so it doesn’t keep the backticks.
Select the whole line by triple-clicking the mouse click: it selects the whole line text + invisible wrapping elements such as HTML tags. Therefore the backticks are kept.
I’m not sure it could be fixed, or not easily, since it seems to depend more on how the OS or browser does the selection. But I’m no dev.