fix(report_view): link_title should be rendered as plain text

This commit is contained in:
AarDG10 2026-04-27 20:53:40 +05:30
parent 242e7b55ca
commit 72b199fbce

View file

@ -162,8 +162,8 @@ frappe.views.ReportView = class ReportView extends frappe.views.ListView {
// update visible DOM elements and cell tooltip
document.querySelectorAll(`a[data-name="${key}"]`).forEach((el) => {
if (el.innerHTML === link_title) return;
el.innerHTML = link_title;
if (el.textContent === link_title) return;
el.textContent = link_title;
$(el).closest(".dt-cell__content").attr("title", link_title);
});