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, l,
isordered, isordered,
istask, istask,
ischecked; ischecked,
blockquote,
count;
while (src) { while (src) {
// newline // newline
@ -299,8 +301,8 @@ Lexer.prototype.token = function(src, top) {
type: 'blockquote_start' type: 'blockquote_start'
}); });
var blockquote = cap[0].replace(/^ *> ?/gm, ''); blockquote = cap[0].replace(/^ *> ?/gm, '');
var count = 1; count = 1;
while (blockquote.match(/^ {0,3}>/)) { while (blockquote.match(/^ {0,3}>/)) {
count++; count++;
this.tokens.push({ this.tokens.push({