clean up code
This commit is contained in:
parent
c8521e51e1
commit
8316a936cd
@ -200,7 +200,9 @@ Lexer.prototype.token = function(src, top) {
|
||||
l,
|
||||
isordered,
|
||||
istask,
|
||||
ischecked;
|
||||
ischecked,
|
||||
blockquote,
|
||||
count;
|
||||
|
||||
while (src) {
|
||||
// newline
|
||||
@ -299,8 +301,8 @@ Lexer.prototype.token = function(src, top) {
|
||||
type: 'blockquote_start'
|
||||
});
|
||||
|
||||
var blockquote = cap[0].replace(/^ *> ?/gm, '');
|
||||
var count = 1;
|
||||
blockquote = cap[0].replace(/^ *> ?/gm, '');
|
||||
count = 1;
|
||||
while (blockquote.match(/^ {0,3}>/)) {
|
||||
count++;
|
||||
this.tokens.push({
|
||||
|
Loading…
x
Reference in New Issue
Block a user