snippets: better \n handling.