diff --git a/paper-datatable.html b/paper-datatable.html index d1c8907..7575c97 100644 --- a/paper-datatable.html +++ b/paper-datatable.html @@ -629,7 +629,7 @@ }else{ if(cell.instance) delete cell.instance; - cell.querySelector('span').innerHTML = cell.dataColumn._formatValue(data) + cell.querySelector('span').textContent = cell.dataColumn._formatValue(data) //cell.textContent = data; } } @@ -677,7 +677,7 @@ cell.instance.notifyPath(instanceValuePath, change.value); } if(!cell.instance || cell.instanceType == 'dialog'){ - cell.querySelector('span').innerHTML = this._columns[i]._formatValue(this.get([object, rowKey, prop])); + cell.querySelector('span').textContent = this._columns[i]._formatValue(this.get([object, rowKey, prop])); } } if(cell.instance){