[MarkdownViewer] NRE fix