Skip to content

Commit

Permalink
Single quote
Browse files Browse the repository at this point in the history
  • Loading branch information
stevenjoezhang committed Mar 26, 2021
1 parent c961127 commit 99da57c
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 99da57c

Please sign in to comment.