🗜️ build [skip ci]

This commit is contained in:
MarkedJS bot 2022-01-27 04:11:57 +00:00
parent 5fba688858
commit a200d0a8b9
4 changed files with 4 additions and 4 deletions

View File

@ -272,7 +272,7 @@ function splitCells(tableRow, count) {
cells.shift();
}
if (!cells[cells.length - 1].trim()) {
if (cells.length > 0 && !cells[cells.length - 1].trim()) {
cells.pop();
}

View File

@ -203,7 +203,7 @@ function splitCells(tableRow, count) {
// First/last cell in a row cannot be empty if it has no leading/trailing pipe
if (!cells[0].trim()) { cells.shift(); }
if (!cells[cells.length - 1].trim()) { cells.pop(); }
if (cells.length > 0 && !cells[cells.length - 1].trim()) { cells.pop(); }
if (cells.length > count) {
cells.splice(count);

View File

@ -274,7 +274,7 @@
cells.shift();
}
if (!cells[cells.length - 1].trim()) {
if (cells.length > 0 && !cells[cells.length - 1].trim()) {
cells.pop();
}

2
marked.min.js vendored

File diff suppressed because one or more lines are too long