The special formatting for the "spoiler" tag was being applied to a post with the tag "spoiler attack", due to the way the CSS rules were written. This still isn't a great solution overall, but should fix those cases at least.