Skip to content

Commit

Permalink
Single quote
Browse files Browse the repository at this point in the history
  • Loading branch information
stevenjoezhang committed Mar 27, 2021
1 parent db5edd8 commit 70d7b6c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/highlight.js
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ function closeTags(res) {
if (match[0] === '</span>') tokenStack.shift();
else tokenStack.unshift(match[2]);
}
const append = "</span>".repeat(tokenStack.length);
const append = '</span>'.repeat(tokenStack.length);
return prepend + line + append;
}).join('\n');
return res;
Expand Down

0 comments on commit 70d7b6c

Please sign in to comment.