Commit 10d709c1 authored by Steven's avatar Steven

chore: fix highlight cursor

parent 8455114e
......@@ -40,5 +40,5 @@ func (*HighlightParser) Match(tokens []*tokenizer.Token) (ast.Node, int) {
return &ast.Highlight{
Content: tokenizer.Stringify(matchedToken[2:cursor]),
}, cursor + 1
}, cursor + 2
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment