mirror of
https://github.com/heyman/heynote.git
synced 2025-02-16 10:19:55 +01:00
Remove "optimization" because it can result in a outofbounds error
This commit is contained in:
parent
0d6d5daa40
commit
b35e4840a4
@ -35,11 +35,7 @@ export const noteContent = new ExternalTokenizer((input) => {
|
||||
input.acceptToken(NoteContent, 1);
|
||||
return;
|
||||
}
|
||||
if (next !== FIRST_TOKEN_CHAR) {
|
||||
current = input.advance(2);
|
||||
} else {
|
||||
current = input.advance(1);
|
||||
}
|
||||
current = input.advance(1);
|
||||
next = input.peek(1);
|
||||
}
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user