use textContent instead of innerText in table cell render
This commit is contained in:
parent
6a855f5c8f
commit
15cfdb8317
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue