Adjust capture templates to have \n at end