Merge pull request #27528 from akhilnarang/escape-html-awesomebar
fix(search_utils): escape HTML before displaying in awesomebar
This commit is contained in:
commit
beadf189bf
1 changed files with 1 additions and 1 deletions
|
|
@ -97,7 +97,7 @@ frappe.search.utils = {
|
|||
break;
|
||||
}
|
||||
} else if (match[0]) {
|
||||
out.label = match[0].bold();
|
||||
out.label = frappe.utils.escape_html(match[0]).bold();
|
||||
out.value = match[0];
|
||||
} else {
|
||||
console.log("Illegal match", match);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue