Skip to content

Commit

Permalink
Merge pull request #1140 from mikemeerschaert/fix
Browse files Browse the repository at this point in the history
fix #1139
  • Loading branch information
gitbrent authored Feb 9, 2023
2 parents 1b2258b + caf9965 commit 7306661
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/gen-tables.ts
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,10 @@ function parseTextToLines (cell: TableCell, colWidth: number, verbose?: boolean)
}

// Flush buffer
if (newLine.length > 0) inputLines1.push(newLine)
if (newLine.length > 0) {
inputLines1.push(newLine)
newLine = []
}
})
if (verbose) {
console.log(`[2/4] inputLines1 (${inputLines1.length})`)
Expand Down

0 comments on commit 7306661

Please sign in to comment.