Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
infopanel: display JOB_DESCRIPTION as markdown
Browse files Browse the repository at this point in the history
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).
cfconrad committed Nov 23, 2023
1 parent 969184c commit 44ab702
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/webapi/test/infopanel.html.ep
Original file line number Diff line number Diff line change
@@ -164,7 +164,7 @@
</span>
</div>
% }
% if (my $scenario_description = $job->scenario_description) {
% if (my $scenario_description = Mojo::ByteStream->new(OpenQA::Markdown::markdown_to_html($job->scenario_description))) {
<div id="scenario-description">
%= $scenario_description
</div>

0 comments on commit 44ab702

Please sign in to comment.