mirror of
https://github.com/usememos/memos.git
synced 2025-02-12 09:20:42 +01:00
chore: fix highlight cursor
This commit is contained in:
parent
8455114eef
commit
10d709c167
@ -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
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user