Replace tabs with spaces

This commit is contained in:
Mike Henderyckx
2018-05-22 15:42:55 +02:00
parent 0b1adb11cc
commit f9fd93eed4
+2 -2
View File
@@ -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;