fix: escape awesomeplete label titles
This commit is contained in:
parent
ebfdfa283b
commit
045d35b89e
1 changed files with 1 additions and 1 deletions
|
|
@ -221,7 +221,7 @@ frappe.ui.form.ControlLink = class ControlLink extends frappe.ui.form.ControlDat
|
|||
return $("<li></li>")
|
||||
.data("item.autocomplete", d)
|
||||
.prop("aria-selected", "false")
|
||||
.html(`<a><p title="${_label}">${html}</p></a>`)
|
||||
.html(`<a><p title="${frappe.utils.escape_html(_label)}">${html}</p></a>`)
|
||||
.get(0);
|
||||
},
|
||||
sort: function () {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue