Is there an easy way to present a magnet link to a torrent in a way that renders as a clickable link for users?
Adding magnet
to the allowed href schemes
site setting should work, did you try that?
3 Likes
Tried - it renders a blue link, but is not clickable and shows no link preview.
I logged out and back in after adding magnet
to the allowed schemes, but did not restart anything. Is that necessary?
The extraHrefMatchers mechanism in pretty-text.js.es6 doesn’t seem to permit query strings or schemes without a ://
…
In the meantime, you can paste the links in a code block for people to copy, e.g.:
magnet:?xt=urn:btih:e2467cbf021192c241367b892230dc1e05c0580e&dn=ubuntu-19.10-desktop-amd64.iso&tr=https%3A%2F%2Ftorrent.ubuntu.com%2Fannounce&tr=https%3A%2F%2Fipv6.torrent.ubuntu.com%2Fannounce
Let’s perhaps revisit this after IE is dropped.
8 Likes
Easiest thing to do here would be to use
It may need a small contribution to support this
5 Likes
Preach, brother! That day cannot come soon enough!
1 Like
Yep, it has a slight problem, seems to stop link detection at the %
.