diff --git a/src/core/operations/ToTable.mjs b/src/core/operations/ToTable.mjs index ff69023f..082c39bc 100644 --- a/src/core/operations/ToTable.mjs +++ b/src/core/operations/ToTable.mjs @@ -214,7 +214,7 @@ class ToTable extends Operation { output += outputRow(row, longestCells); let rowOutput = verticalBorder; row.forEach(function(cell, index) { - rowOutput += " " + headerDivider + " " + verticalBorder; + rowOutput += " " + headerDivider.repeat(longestCells[index]) + " " + verticalBorder; }); output += rowOutput += "\n";