diff --git a/JournalFile.cs b/JournalFile.cs index bfae462..5c40bdf 100644 --- a/JournalFile.cs +++ b/JournalFile.cs @@ -112,6 +112,10 @@ namespace EDJournal { entries.Clear(); foreach(var line in lines) { + // Skip empty lines + if (line.Trim().Length == 0) { + continue; + } Entry entry = Entry.Parse(line); entries.Add(entry); }