-debug
This commit is contained in:
parent
321dc2291f
commit
f4b6ef4b10
@ -128,13 +128,9 @@ block.token = function(str, tokens) {
|
||||
});
|
||||
// get each top-level
|
||||
// item in the list
|
||||
console.log('first');
|
||||
console.log(cap[0]);
|
||||
console.log('end');
|
||||
cap = cap[0].match(
|
||||
/^( *)(\*|\+|-|\d+\.)[^\n]+(?:\n\1+(?!\*|\+|-|\d\.)[^\n]*)*/gm
|
||||
);
|
||||
console.log(cap);
|
||||
each(cap, function(item) {
|
||||
// remove the list items sigil
|
||||
// so its seen as the next token
|
||||
|
Loading…
x
Reference in New Issue
Block a user