fix path links in step content

frdel committed Feb 8, 2026 at 11:54 UTC c9c98287f23e297c6557cc47629e3c6221c6f333
1 file changed +12 -2
webui/js/messages.js
+12 -2
@@ -397,14 +397,18 @@ function drawProcessStep({
397 const kvpsTable = drawKvpsIncremental(stepDetailScroll, kvps);
398
399 // update content
400 - const stepDetailContent = ensureChild(
400 + let stepDetailContent;
401 + if(content){
402 + stepDetailContent = ensureChild(
403 stepDetailScroll,
404 ".process-step-detail-content",
405 "p",
406 "process-step-detail-content",
407 ...(contentClasses || []),
408 );
407 - stepDetailContent.textContent = content;
409 + const adjustedContent = adjustStepContent(content)
410 + stepDetailContent.innerHTML = adjustedContent;
411 + }
412
413 // reapply scroll position (autoscroll if bottom) - only when expanded already and not mass rendering
414 if (isExpanded) detailScroller.reApplyScroll();
@@ -447,6 +451,12 @@ function drawProcessStep({
451 };
452 }
453
454 +function adjustStepContent(content) {
455 + content = escapeHTML(content);
456 + content = convertPathsToLinks(content);
457 + return content;
458 +}
459 +
460 function toggleStepCollapse(step, expanded) {
461 if (!step) return;
462