Fixed vertical spacing in exercise command.

The vertical spacing is now non-zero when the command is used directly
after text.