🗜️ build [skip ci]
This commit is contained in:
parent
f82ea2cf1b
commit
4734c82abe
@ -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) {
|
||||||
|
@ -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) {
|
||||||
|
@ -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
2
marked.min.js
vendored
File diff suppressed because one or more lines are too long
Loading…
x
Reference in New Issue
Block a user