From 44ab702f96e98c1bddc1e7e71214a16ca3c69b47 Mon Sep 17 00:00:00 2001 From: Clemens Famulla-Conrad Date: Thu, 23 Nov 2023 23:17:16 +0100 Subject: [PATCH] infopanel: display JOB_DESCRIPTION as markdown I would like to have clickable links in the JOB_DESCRIPTION. With this, I could use the JOB_DESCRIPTION linking to a corresponding trigger source (e.g. a gitlab pipeline). --- templates/webapi/test/infopanel.html.ep | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/webapi/test/infopanel.html.ep b/templates/webapi/test/infopanel.html.ep index ec1c9016bd15..73dc3aabfd00 100644 --- a/templates/webapi/test/infopanel.html.ep +++ b/templates/webapi/test/infopanel.html.ep @@ -164,7 +164,7 @@ % } - % if (my $scenario_description = $job->scenario_description) { + % if (my $scenario_description = Mojo::ByteStream->new(OpenQA::Markdown::markdown_to_html($job->scenario_description))) {
%= $scenario_description