Details tag prevents parsing of code block
Summary
When I use HTML's <details>
tag to hide a big block of code (inside Markdowns code block ```) the parsing of the code block does not work.
Steps to reproduce
This code: https://gitlab.com/snippets/1707630
Actually, you can see the problematic behaviour there live.
Example Project
Discovered here: https://gitlab.gnome.org/GNOME/gnome-software/issues/346
Or, as linked before, here: https://gitlab.com/snippets/1707630
What is the current bug behavior?
The code is shown as a wall of text.
What is the expected correct behavior?
Show code as usual:
code blog
(When you remove the details tags, the code is correctly shown/formatted.)
Relevant logs and/or screenshots
Output of checks
Reproducible on GitLab.com and on other instance.