Skip to content

Commit

Permalink
🗜️ build [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
MarkedJS bot committed Dec 19, 2021
1 parent f82ea2c commit 4734c82
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion lib/marked.cjs
Expand Up @@ -730,7 +730,7 @@ var Tokenizer = /*#__PURE__*/function () {
};
}),
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) {
Expand Down
2 changes: 1 addition & 1 deletion lib/marked.esm.js
Expand Up @@ -638,7 +638,7 @@ class Tokenizer {
type: 'table',
header: splitCells(cap[1]).map(c => { return { text: c }; }),
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) {
Expand Down
2 changes: 1 addition & 1 deletion lib/marked.umd.js
Expand Up @@ -732,7 +732,7 @@
};
}),
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) {
Expand Down
2 changes: 1 addition & 1 deletion marked.min.js

Large diffs are not rendered by default.

0 comments on commit 4734c82

Please sign in to comment.