ignore border when sizing table

This commit is contained in:
ed 2020-11-29 18:48:55 +01:00
parent f83db3648e
commit 1c7cc4cb2b

View file

@ -680,7 +680,8 @@ function fmt_table(e) {
for (var col = 0; col < ncols; col++) {
var max = 0;
for (var row = 0; row < tab.length; row++)
max = Math.max(max, tab[row][col].length);
if (row != 1)
max = Math.max(max, tab[row][col].length);
var s = '';
for (var n = 0; n < max; n++)