Remove empty lines in code block