@eeeee when Mastodon posts enter NodeBB we save the html in the database as-is (and sanitize it on output).
This is different from NodeBB internally which saves markdown into the database.
The spoiler plugin might not be matching the symbols because from remote communities the line begins with <p>>! spoiler instead of just with >! itself.</p>