We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c8521e5 commit 8316a93Copy full SHA for 8316a93
lib/marked.js
@@ -200,7 +200,9 @@ Lexer.prototype.token = function(src, top) {
200
l,
201
isordered,
202
istask,
203
- ischecked;
+ ischecked,
204
+ blockquote,
205
+ count;
206
207
while (src) {
208
// newline
@@ -299,8 +301,8 @@ Lexer.prototype.token = function(src, top) {
299
301
type: 'blockquote_start'
300
302
});
303
- var blockquote = cap[0].replace(/^ *> ?/gm, '');
- var count = 1;
304
+ blockquote = cap[0].replace(/^ *> ?/gm, '');
305
+ count = 1;
306
while (blockquote.match(/^ {0,3}>/)) {
307
count++;
308
this.tokens.push({
0 commit comments