From cefd90c18e7934bce607b55d02b7e1dc962d0287 Mon Sep 17 00:00:00 2001 From: Lars Michelsen Date: Sat, 23 Nov 2024 12:57:54 +0100 Subject: [PATCH] Fix job result HTML rendering Change-Id: I72d2dfdbee8f5483733b1c64b6aa0e9d589f02ba --- cmk/gui/gui_background_job.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/cmk/gui/gui_background_job.py b/cmk/gui/gui_background_job.py index f203ff9b34d..75057c9b0a5 100644 --- a/cmk/gui/gui_background_job.py +++ b/cmk/gui/gui_background_job.py @@ -460,7 +460,10 @@ def render_job_row( progress_text += "%s" % loginfo["JobProgressUpdate"][-1] html.td(HTML.without_escaping(progress_text), css="job_last_progress") - html.td(HTMLWriter.render_br().join(loginfo["JobResult"]), css="job_result") + html.td( + HTML.without_escaping("
".join(loginfo["JobResult"])), + css="job_result", + ) else: html.td("", css="job_last_progress") html.td("", css="job_result")