Spoiler with text on the same line as the tag no longer works

Broken HTML is:

<p>test <b>test</p>
<p>test </b></p>

There is nothing philosophical about what is broken there, run it via a validator.