I was going to bring this up. Also might need to ignore votes within spoiler tags as well as they're invalid also.In post 174, Psyche wrote: maybe most salient is broken quote tags that allow a quoted vote to look like the poster's vote
A weird solution may be to check if a closing tag for spoiler or a quote is after the vote. If so, invalidate it.