viewer.setText("");
return;
}
MarkdownEditor ed = (MarkdownEditor) editor;
MarkdownPage page = ed.getMarkdownPage();
String html = page.html();
html = addBaseURL(editor, html);
if (page != null) viewer.setText(html);
else viewer.setText("");
} catch (Exception ex) {
// Smother