Avoid spurious newlines after code blocks