Please upgrade the spoiler options in Flarum, to set a text for name spoiler, example:
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.
The text in summary tag, it's a spoiler name and look great!