# Problem with formatting two hidden grey boxes, one after the other

In this answer, I used two hidden grey boxes, one after the other. However, I had some trouble getting them to format probably.

If you write

>! Line 1

>! Line 2


you get

! Line 1

! Line 2

In order to fix this, it seems that you have to place some text between the two lines. For example,

>! Line 1



>! Line 2


produces

Line 1



Line 2

as desired.

Is this necessary? If so, can it be fixed?

This is a known inconvenience: Consecutive spoiler blocks (>!) are shown as blockquotes, which is due to the design of spoiler syntax. It can be solved by inserting HTML comment <!--> or empty heading # to separate the blocks. This is better than MathJax-based hacks, as no JavaScript needs to run to render it.

Line 1

Line 2

>! Line 1

<!-->
>! Line 2


Also,

Line 1

Line 2

>! Line 1