Skip to content

Commit 9d3a781

Browse files
author
MarkedJS bot
committed
🗜️ build [skip ci]
1 parent 7293251 commit 9d3a781

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

lib/marked.esm.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -1709,7 +1709,7 @@ var Lexer_1 = class Lexer {
17091709
src = src.substring(token.raw.length);
17101710
inLink = token.inLink;
17111711
inRawBlock = token.inRawBlock;
1712-
lastToken = tokens[tokens.length - 1];
1712+
const lastToken = tokens[tokens.length - 1];
17131713
if (lastToken && token.type === 'text' && lastToken.type === 'text') {
17141714
lastToken.raw += token.raw;
17151715
lastToken.text += token.text;
@@ -1732,7 +1732,7 @@ var Lexer_1 = class Lexer {
17321732
// reflink, nolink
17331733
if (token = this.tokenizer.reflink(src, this.tokens.links)) {
17341734
src = src.substring(token.raw.length);
1735-
lastToken = tokens[tokens.length - 1];
1735+
const lastToken = tokens[tokens.length - 1];
17361736
if (token.type === 'link') {
17371737
token.tokens = this.inlineTokens(token.text, [], true, inRawBlock);
17381738
tokens.push(token);

0 commit comments

Comments
 (0)