Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 4734c82

Browse files
author
MarkedJS bot
committed
🗜️ build [skip ci]
1 parent f82ea2c commit 4734c82

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

lib/marked.cjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -730,7 +730,7 @@ var Tokenizer = /*#__PURE__*/function () {
730730
};
731731
}),
732732
align: cap[2].replace(/^ *|\| *$/g, '').split(/ *\| */),
733-
rows: cap[3] ? cap[3].replace(/\n$/, '').split('\n') : []
733+
rows: cap[3] ? cap[3].replace(/\n[ \t]*$/, '').split('\n') : []
734734
};
735735

736736
if (item.header.length === item.align.length) {

lib/marked.esm.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -638,7 +638,7 @@ class Tokenizer {
638638
type: 'table',
639639
header: splitCells(cap[1]).map(c => { return { text: c }; }),
640640
align: cap[2].replace(/^ *|\| *$/g, '').split(/ *\| */),
641-
rows: cap[3] ? cap[3].replace(/\n$/, '').split('\n') : []
641+
rows: cap[3] ? cap[3].replace(/\n[ \t]*$/, '').split('\n') : []
642642
};
643643

644644
if (item.header.length === item.align.length) {

lib/marked.umd.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -732,7 +732,7 @@
732732
};
733733
}),
734734
align: cap[2].replace(/^ *|\| *$/g, '').split(/ *\| */),
735-
rows: cap[3] ? cap[3].replace(/\n$/, '').split('\n') : []
735+
rows: cap[3] ? cap[3].replace(/\n[ \t]*$/, '').split('\n') : []
736736
};
737737

738738
if (item.header.length === item.align.length) {

marked.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)