clean up code

This commit is contained in:
Tony Brix 2019-04-12 10:56:54 -05:00
parent c8521e51e1
commit 8316a936cd

View File

@ -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({