Closed turt2live closed 2 years ago
From a little debugging it looks like linkify attaches a local click event handler to it then it being mangled by something removes this handler
This got fixed, somehow
Reopening, just experienced this on /develop with a code block as follows:
#linux_gaming:matrix.org
The linkifier caught it and made it a matrix.to link, which navigates you away.
and no longer an issue. This is somewhat screaming to be a test case.
Fixed
Description
This is an awkward case. Room aliases automatically get converted to matrix.to links in Riot, however if that alias is in a code block, the link doesn't stay on the page and instead throws you over to matrix.to. This used to work just fine, and kinda makes linking markdown-affected rooms a little annoying.
Steps to reproduce
#riot:matrix.org
(include applicable markdown)I would have expected that the link work like they do outside of code blocks: bring me to the room, not the matrix.to page.
Log: sent (ticket referenced as github link in description)
Version information