Drop spaces at the end of code blocks.

The original parser seems to be doing this so I'm just going with it for now.