Hello!
Please upgrade the spoiler options in Flarum, to set a text for name spoiler, example:
<details>
<summary>Spoiler warning</summary>
Spoiler text. Note that it's important to have a space after the summary tag. You should be able to write any markdown you want inside the `<details>` tag... just make sure you close `<details>` afterward.
</details>
The text in summary tag, it's a spoiler name and look great!
test