We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 40a8182 commit a7f6e9fCopy full SHA for a7f6e9f
src/line/highlight.js
@@ -30,7 +30,7 @@ class Context {
30
31
baseToken(n) {
32
if (!this.baseTokens) return null
33
- while (this.baseTokens[this.baseTokenPos] < n)
+ while (this.baseTokens[this.baseTokenPos] <= n)
34
this.baseTokenPos += 2
35
let type = this.baseTokens[this.baseTokenPos + 1]
36
return {type: type && type.replace(/( |^)overlay .*/, ""),
0 commit comments