mirror of https://github.com/gchq/CyberChef.git
Align Markdown table column separators
This commit is contained in:
parent
2efd075803
commit
dee2dc3777
|
@ -214,7 +214,7 @@ class ToTable extends Operation {
|
||||||
output += outputRow(row, longestCells);
|
output += outputRow(row, longestCells);
|
||||||
let rowOutput = verticalBorder;
|
let rowOutput = verticalBorder;
|
||||||
row.forEach(function(cell, index) {
|
row.forEach(function(cell, index) {
|
||||||
rowOutput += " " + headerDivider + " " + verticalBorder;
|
rowOutput += " " + headerDivider.repeat(longestCells[index]) + " " + verticalBorder;
|
||||||
});
|
});
|
||||||
output += rowOutput += "\n";
|
output += rowOutput += "\n";
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue