fix: escape on status image for workstations in production status (backport #58279) (#58281)

Co-authored-by: Diptanil Saha <diptanil@frappe.io>
This commit is contained in:
mergify[bot]
2026-08-19 00:17:17 +05:30
committed by GitHub
parent 6b7b4796b4
commit 9e2173e4c2

View File

@@ -507,7 +507,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)