In this block,
[details="Summary"]
This text will be hidden
[/details]
There’s two CSS rules that makes display: block
on every child or sibling elements:
details[open]>*, details[open] .lightbox-wrapper {
display: block;
}
details[open]>summary:first-of-type ~ *,
details.open>summary:first-of-type ~ * {
display: block;
}
This is a problem because each element that is supposed to be inline will be displayed as a block instead, taking all the width. Like a span or a link. What’s the purpose of these rules?
Example:
[details="Hidden"]
Enhanced image and comparison with the same halo on Earth:


Though Mars's atmosphere is composed of 95% of carbon dioxide (CO<sub>2</sub>), the halo was produced by water (H<sub>2</sub>O) ice crystal, hence the similarity with the common Earth 22° [halo](https://en.wikipedia.org/wiki/22%C2%B0_halo?oldformat=true). It's exactly the same, in fact.
[/details]
↓
Hidden
Enhanced image and comparison with the same halo on Earth:
Though Mars’s atmosphere is composed of 95% of carbon dioxide (CO2), the halo was produced by water (H2O) ice crystal, hence the similarity with the common Earth 22° halo. It’s exactly the same, in fact.
Here there are 3 inline elements: <sub>
and a link:
The issue disappears if we enable the safe mode and disable all plugins, even if we have no custom plugins installed:
A video example from try.discourse.org: