From 25dfcb17c8ef3a3e31fc8cb45c2d3f9713e39ed3 Mon Sep 17 00:00:00 2001 From: Diptanil Saha Date: Tue, 18 Aug 2026 23:28:23 +0530 Subject: [PATCH] fix: escape on status image for workstations in production status (#58279) --- erpnext/manufacturing/doctype/workstation/workstation.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/erpnext/manufacturing/doctype/workstation/workstation.py b/erpnext/manufacturing/doctype/workstation/workstation.py index e11c81e527a..efd11a18d05 100644 --- a/erpnext/manufacturing/doctype/workstation/workstation.py +++ b/erpnext/manufacturing/doctype/workstation/workstation.py @@ -451,7 +451,7 @@ def get_workstations(**kwargs): for d in data: d.workstation_name = get_link_to_form("Workstation", d.name) - d.status_image = d.on_status_image + d.status_image = frappe.utils.escape_html(d.on_status_image) d.workstation_off = "" d.color = color_map.get(d.status, "red") d.workstation_link = get_url_to_form("Workstation", d.name)