There is an issue with code blocks within details
tags. I won’t even try to guess why this is broken. If you put the following code into a post, instead of the two distinct details blocks with code blocks within them that you would expect, you get a single details block with stripped HTML inside
<details><summary>Summary</summary>
```HTML
<script>alert("Text");</script>
```
</details>
<details><summary>Summary2</summary>
```HTML
<script>alert("Text"); </script>
```
</details>
Example:
Summary
<script>alert("Text");</script>
Summary2
<script>alert("Text"); </script>