summaryrefslogtreecommitdiff
path: root/interaction.cpp
diff options
context:
space:
mode:
authorPeter LaFosse <peter@vector35.com>2018-11-26 17:02:36 -0500
committerPeter LaFosse <peter@vector35.com>2018-11-26 17:02:36 -0500
commita51d7b6f275c94f3f1d6eaa4b3e1bf60ef5f303f (patch)
treef8a5e9c5fc624ba5297c782e91d4e3a82f144406 /interaction.cpp
parentec34be5b202513aa9c4416404c384e2917ceecfc (diff)
Dont auto convert Markdown reports to html
Diffstat (limited to 'interaction.cpp')
-rw-r--r--interaction.cpp3
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);
}