FIX: Strip null characters (#17)
This commit is contained in:
parent
a8f27d9131
commit
9abd57e5b5
|
@ -193,6 +193,8 @@ export default class SpreadsheetEditor extends Component {
|
|||
editedTable = raw.replace(findTableRegex(), newRaw);
|
||||
}
|
||||
|
||||
// replace null characters
|
||||
editedTable = editedTable.replace(/\0/g, "\ufffd");
|
||||
return editedTable;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue