Skip to content

Commit

Permalink
Fix job result HTML rendering
Browse files Browse the repository at this point in the history
Change-Id: I72d2dfdbee8f5483733b1c64b6aa0e9d589f02ba
  • Loading branch information
LarsMichelsen committed Nov 23, 2024
1 parent ca14690 commit cefd90c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion cmk/gui/gui_background_job.py
Original file line number Diff line number Diff line change
Expand Up @@ -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("<br>".join(loginfo["JobResult"])),
css="job_result",
)
else:
html.td("", css="job_last_progress")
html.td("", css="job_result")
Expand Down

0 comments on commit cefd90c

Please sign in to comment.