fix: convert description to plain text after escaping

This commit is contained in:
KerollesFathy 2026-03-30 17:42:15 +00:00
parent 05489dbd2b
commit fdb8e14095

View file

@ -242,7 +242,7 @@ frappe.ui.form.ControlLink = class ControlLink extends frappe.ui.form.ControlDat
) {
html +=
'<br><span class="small">' +
__(frappe.utils.escape_html(frappe.utils.html2text(d.description))) +
__(frappe.utils.html2text(frappe.utils.escape_html(d.description))) +
"</span>";
}
return $(`<div role="option">`)