diff --git a/src/editor/lang-heynote/external-tokens.js b/src/editor/lang-heynote/external-tokens.js index 0d30680..6b8ffbf 100644 --- a/src/editor/lang-heynote/external-tokens.js +++ b/src/editor/lang-heynote/external-tokens.js @@ -35,8 +35,11 @@ export const noteContent = new ExternalTokenizer((input) => { input.acceptToken(NoteContent, 1); return; } - - current = input.advance(); + if (next !== FIRST_TOKEN_CHAR) { + current = input.advance(2); + } else { + current = input.advance(1); + } next = input.peek(1); } });