Limit ordered list marker
This commit is contained in:
parent
aaca9296e0
commit
95f687dd14
@ -44,7 +44,7 @@ block.def = edit(block.def)
|
||||
.replace('title', block._title)
|
||||
.getRegex();
|
||||
|
||||
block.bullet = /(?:[*+-]|\d+\.)/;
|
||||
block.bullet = /(?:[*+-]|\d{1,9}\.)/;
|
||||
block.item = /^( *)(bull) [^\n]*(?:\n(?!\1bull )[^\n]*)*/;
|
||||
block.item = edit(block.item, 'gm')
|
||||
.replace(/bull/g, block.bullet)
|
||||
|
@ -248,7 +248,7 @@ describe('CommonMark 0.28 List items', function() {
|
||||
var section = 'List items';
|
||||
|
||||
// var shouldPassButFails = [];
|
||||
var shouldPassButFails = [229, 237, 236, 227, 218, 243, 259, 241, 239, 247, 246, 225, 220, 258, 260, 244];
|
||||
var shouldPassButFails = [237, 236, 227, 218, 243, 259, 241, 239, 247, 246, 225, 220, 258, 260, 244];
|
||||
|
||||
var willNotBeAttemptedByCoreTeam = [];
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user