Handle case with no extra spaces after code block