I've noticed a bug with the current implementation of this. Every time you press 'Preview Post' new lines are added at the top and bottom of a spoiler. For example the following is a spoiler after a post has been previewed four times:
Show Content
Spoiler
This spoiler will have extra lines above and below
Code:
This doesn't happen with other tags