Handle multple newlines in multi-record insert