Changed snippets to never enter newline at end