Merge pull request #19063 from shariquerik/do-not-escape-undefined
This commit is contained in:
commit
ef5c618954
1 changed files with 1 additions and 0 deletions
|
|
@ -246,6 +246,7 @@ Object.assign(frappe.utils, {
|
|||
},
|
||||
|
||||
escape_html: function (txt) {
|
||||
if (!txt) return "";
|
||||
let escape_html_mapping = {
|
||||
"&": "&",
|
||||
"<": "<",
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue