mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2025-03-04 07:18:50 -07:00
Fix a bug in macro expander
This commit is contained in:
parent
55cf59667b
commit
928c539440
1 changed files with 2 additions and 0 deletions
|
@ -264,6 +264,8 @@ function expandKaTeXMacroOnce(
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!macros.hasOwnProperty(macroName)) return [fallback, false];
|
||||||
|
|
||||||
const numArgs: number = macros[macroName].args;
|
const numArgs: number = macros[macroName].args;
|
||||||
const openBracket: string = macroName.slice(-1);
|
const openBracket: string = macroName.slice(-1);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue