mirror of
https://iceshrimp.dev/crimekillz/trashposs
synced 2024-11-22 17:03:49 +01:00
Fix a bug in the macro expander
This commit is contained in:
parent
ecb17b9eaf
commit
7c568eefff
@ -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];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user