Skip to content

Commit

Permalink
fix: escape html from listview row title
Browse files Browse the repository at this point in the history
(cherry picked from commit 4c14e68)
  • Loading branch information
shariquerik authored and mergify[bot] committed May 8, 2023
1 parent e68fc43 commit 56bec1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frappe/public/js/frappe/list/list_view.js
Original file line number Diff line number Diff line change
Expand Up @@ -1000,7 +1000,7 @@ frappe.views.ListView = class ListView extends frappe.views.BaseList {
href="${this.get_form_link(doc)}"
title="${escaped_subject}"
data-doctype="${this.doctype}"
data-name="${doc.name}">
data-name="${escaped_subject}">
${subject}
</a>
</span>
Expand Down

0 comments on commit 56bec1d

Please sign in to comment.