Fix a bug in the macro expander

This commit is contained in:
naskya 2023-03-31 06:31:18 +09:00
parent f7ac0230da
commit fe9ed9fcba
No known key found for this signature in database
GPG Key ID: 164DFF24E2D40139
1 changed files with 1 additions and 1 deletions

View File

@ -244,7 +244,7 @@ function expandKaTeXMacroOnce(src: string, macros: { [name: string]: KaTeXMacro
}
if (nextOpenBracketPos === endPos)
return [fallback, false]; // there is no open bracket
continue; // there is no open bracket
macroNameCandidate += src[nextOpenBracketPos];