From 56c359bd2b6ace4696ac55b00af163c3fa4ed43d Mon Sep 17 00:00:00 2001 From: sheche Date: Thu, 16 Dec 2021 19:20:12 +0800 Subject: [PATCH] fix: Support html markdown for TestNG output Signed-off-by: sheche --- src/runners/testngRunner/TestNGRunnerResultAnalyzer.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/runners/testngRunner/TestNGRunnerResultAnalyzer.ts b/src/runners/testngRunner/TestNGRunnerResultAnalyzer.ts index 17b75805..66df524a 100644 --- a/src/runners/testngRunner/TestNGRunnerResultAnalyzer.ts +++ b/src/runners/testngRunner/TestNGRunnerResultAnalyzer.ts @@ -77,6 +77,7 @@ export class TestNGRunnerResultAnalyzer extends RunnerResultAnalyzer { if (outputData.attributes.trace) { const markdownTrace: MarkdownString = new MarkdownString(); markdownTrace.isTrusted = true; + markdownTrace.supportHtml = true; for (const line of outputData.attributes.trace.split(/\r?\n/)) { this.processStackTrace(line, markdownTrace, undefined, this.currentItem, this.projectName);