fix: convert description to plain text after escaping
This commit is contained in:
parent
05489dbd2b
commit
fdb8e14095
1 changed files with 1 additions and 1 deletions
|
|
@ -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">`)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue