🗜️ build [skip ci]

This commit is contained in:
MarkedJS bot 2021-12-19 00:22:43 +00:00
parent f82ea2cf1b
commit 4734c82abe
4 changed files with 4 additions and 4 deletions

View File

@ -730,7 +730,7 @@ var Tokenizer = /*#__PURE__*/function () {
}; };
}), }),
align: cap[2].replace(/^ *|\| *$/g, '').split(/ *\| */), align: cap[2].replace(/^ *|\| *$/g, '').split(/ *\| */),
rows: cap[3] ? cap[3].replace(/\n$/, '').split('\n') : [] rows: cap[3] ? cap[3].replace(/\n[ \t]*$/, '').split('\n') : []
}; };
if (item.header.length === item.align.length) { if (item.header.length === item.align.length) {

View File

@ -638,7 +638,7 @@ class Tokenizer {
type: 'table', type: 'table',
header: splitCells(cap[1]).map(c => { return { text: c }; }), header: splitCells(cap[1]).map(c => { return { text: c }; }),
align: cap[2].replace(/^ *|\| *$/g, '').split(/ *\| */), align: cap[2].replace(/^ *|\| *$/g, '').split(/ *\| */),
rows: cap[3] ? cap[3].replace(/\n$/, '').split('\n') : [] rows: cap[3] ? cap[3].replace(/\n[ \t]*$/, '').split('\n') : []
}; };
if (item.header.length === item.align.length) { if (item.header.length === item.align.length) {

View File

@ -732,7 +732,7 @@
}; };
}), }),
align: cap[2].replace(/^ *|\| *$/g, '').split(/ *\| */), align: cap[2].replace(/^ *|\| *$/g, '').split(/ *\| */),
rows: cap[3] ? cap[3].replace(/\n$/, '').split('\n') : [] rows: cap[3] ? cap[3].replace(/\n[ \t]*$/, '').split('\n') : []
}; };
if (item.header.length === item.align.length) { if (item.header.length === item.align.length) {

2
marked.min.js vendored

File diff suppressed because one or more lines are too long