diff options
Diffstat (limited to 'cli/main.cpp')
| -rw-r--r-- | cli/main.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/cli/main.cpp b/cli/main.cpp index 07a363b..0185aa6 100644 --- a/cli/main.cpp +++ b/cli/main.cpp @@ -286,6 +286,10 @@ void startDiceParsingMarkdown(QString cmd) stringResult.replace("%2",listText.trimmed()); str = stringResult; } + if(!parser.getComment().isEmpty()) + { + str.prepend(parser.getComment()+ QStringLiteral("\n")); + } result += str + "\n"; } |