Links should not be generated inside <code> #18790
Labels
A-Timeline
O-Occasional
Affects or can be seen by some users regularly or most users rarely
S-Minor
Impairs non-critical functionality or suitable workarounds exist
T-Defect
Z-Papercuts
Visible. Impactful. Predictable to action.
Steps to reproduce
I'm trying to separate code from normal text with backticks, like for example:
What happened?
I get:
Running <code>./<a href="http://manage.py">manage.py</a> migrate</code> gives...
Source for above screenshot:
What did you expect?
I would expect that it would result in
Running <code>./manage.py migrate</code> gives...
Meaning I would expect Element to either skip link generation completely inside
<code>
or then only create a link in the presence of a complete URL likehttps://manage.py
.Operating system
OSX
Browser information
Firefox 91.0.2
URL for webapp
No response
Homeserver
v1.8.1
Have you submitted a rageshake?
No
The text was updated successfully, but these errors were encountered: