diff options
| author | Peter LaFosse <peter@vector35.com> | 2018-11-26 17:02:36 -0500 |
|---|---|---|
| committer | Peter LaFosse <peter@vector35.com> | 2018-11-26 17:02:36 -0500 |
| commit | a51d7b6f275c94f3f1d6eaa4b3e1bf60ef5f303f (patch) | |
| tree | f8a5e9c5fc624ba5297c782e91d4e3a82f144406 /interaction.cpp | |
| parent | ec34be5b202513aa9c4416404c384e2917ceecfc (diff) | |
Dont auto convert Markdown reports to html
Diffstat (limited to 'interaction.cpp')
| -rw-r--r-- | interaction.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/interaction.cpp b/interaction.cpp index 5650f629..684d2d09 100644 --- a/interaction.cpp +++ b/interaction.cpp @@ -105,7 +105,8 @@ FormInputField FormInputField::DirectoryName(const string& prompt, const string& void InteractionHandler::ShowMarkdownReport(Ref<BinaryView> view, const string& title, const string& contents, const string& plainText) { - ShowHTMLReport(view, title, MarkdownToHTML(contents), plainText); + if (plainText.size() != 0) + ShowPlainTextReport(view, title, plainText); } |
