In this answer my spoiler tags were not working, as the ! character is ignored and displayed, as if it was quoted text. How do I get a workaround of this?
I have fixed it for you.
This is HTML, and you can learn it here
Spoiler tags don't work when you try and have paragraphs
!This spoiler tag doesn't work
Because I have written:
>!This spoiler tag doesn't work
And the new line causes an error
If you want to add a new line then add
which means line break.
This spoiler tag
Because I wrote
>!This spoiler tag<br>works :P
Alternatively you can write
>!This spoiler tag<br> >!works :P
and you still get
A spoiler tag
that works :P
You has a paragraph break in the middle of your spoilertag, which caused it not to work properly. @BeastlyGerbil has now fixed this.
For future reference, paragraph breaks don't work very well with spoilertags. You need to include a double space at the end of every line, including the black line between paragraphs. Doing this:
>! stuff >! more stuff
gives this output:
! more stuff
So you have to do this:
>! stuff >! >! more stuff
to get the desired output: