Skip to content

Commit

Permalink
clean up code
Browse files Browse the repository at this point in the history
  • Loading branch information
UziTech committed Apr 12, 2019
1 parent c8521e5 commit 8316a93
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions lib/marked.js
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,9 @@ Lexer.prototype.token = function(src, top) {
l,
isordered,
istask,
ischecked;
ischecked,
blockquote,
count;

while (src) {
// newline
Expand Down Expand Up @@ -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({
Expand Down

0 comments on commit 8316a93

Please sign in to comment.