fix(import_preview): sanitize preview data

Signed-off-by: Akhil Narang <me@akhilnarang.dev>
This commit is contained in:
Akhil Narang 2025-03-03 17:13:42 +05:30
parent cf44c42e6f
commit 2a5b9e45d1
No known key found for this signature in database
GPG key ID: 9DCC61E211BF645F

View file

@ -120,6 +120,10 @@ frappe.data_import.ImportPreview = class ImportPreview {
if (cell == null) {
return "";
}
if (typeof cell === "string") {
cell = frappe.utils.xss_sanitise(cell);
}
return cell;
});
});