diff --git a/Journaley/Forms/MainForm.cs b/Journaley/Forms/MainForm.cs index a184b7e..fe6ab91 100644 --- a/Journaley/Forms/MainForm.cs +++ b/Journaley/Forms/MainForm.cs @@ -639,6 +639,11 @@ private void OnGetMinMaxInfo(ref Message m) /// private void UpdateWebBrowser() { + if (this.selectedEntry == null) + { + return; + } + string initialString = this.SelectedEntry.EntryText; // Fix for backtick fenced code blocks is to replace it into tilde fenced.