use textContent instead of innerText in table cell render

This commit is contained in:
abaevbog 2024-01-09 01:21:12 -05:00 committed by Dan Stillman
parent 6a855f5c8f
commit 15cfdb8317

View file

@ -1643,7 +1643,7 @@ function renderCell(index, data, column, dir = null) {
column = column || { columnName: "" };
let span = document.createElement('span');
span.className = `cell ${column.className}`;
span.innerText = data;
span.textContent = data;
if (dir) span.dir = dir;
return span;
}