From 0c899e0ddd5796c3ca2658097cce194a55054cdd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tina=20M=C3=BCller?= Date: Wed, 7 Aug 2024 15:09:53 +0200 Subject: [PATCH] Ensure valid format for HTML element ids Issue: https://progress.opensuse.org/issues/164973 Spaces, for example in FLAVOR, result in invalid ids for HTML elements. --- templates/webapi/test/overview_result_table.html.ep | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/webapi/test/overview_result_table.html.ep b/templates/webapi/test/overview_result_table.html.ep index 30e93de4ada..416eb07c514 100644 --- a/templates/webapi/test/overview_result_table.html.ep +++ b/templates/webapi/test/overview_result_table.html.ep @@ -35,7 +35,7 @@ - % next; % } - % my $resultid = join('_', $type, $arch, $config); + % my $resultid = join('_', $type, $arch, $config) =~ tr/ /_/r; %= include 'test/tr_job_result', resultid => $resultid, res => $res, state => $state, jobid => $jobid % }