Handle blank lines in multiline import