Code blocks inside spoiler tags are displayed incorrectly #28685
Labels
A-Markdown
O-Uncommon
Most users are unlikely to come across this or unexpected workflow
S-Minor
Impairs non-critical functionality or suitable workarounds exist
T-Defect
Steps to reproduce
Writing
/spoiler
and then inserting```
right after, then the code in multiple lines and then```
again in its own line yields some weird reformatting, that definitely does not what we are looking for.Also the following command does not yield a proper code block:
Outcome
I expect code blocks inside spoiler tags to correctly highlight and display the line numbers inside the code block.
There should also be a way to nest a code block inside a spoiler tag without needing to type the HTML manually.
Operating system
Arch Linux
Browser information
Firefox 132.0.2
URL for webapp
No response
Application version
No response
Homeserver
matrix.org
Will you send logs?
No
The text was updated successfully, but these errors were encountered: