Fix snippets whitespace problems.