mirror of
https://github.com/optilude/xlsx-template.git
synced 2026-07-02 08:27:39 +08:00
Replace tabs with spaces
This commit is contained in:
+2
-2
@@ -243,9 +243,9 @@ module.exports = (function() {
|
||||
cells, cell,
|
||||
namedTables, substitution, placeholder.key
|
||||
);
|
||||
|
||||
|
||||
// don't double-insert cells
|
||||
// this applies to arrays only, incorrectly applies to object arrays when there a single row, thus not rendering single row
|
||||
// this applies to arrays only, incorrectly applies to object arrays when there a single row, thus not rendering single row
|
||||
if (newCellsInserted !== 0 || substitution.length <= 1) {
|
||||
if (substitution instanceof Array && substitution.length === 1) {
|
||||
appendCell = true;
|
||||
|
||||
Reference in New Issue
Block a user