mirror of
https://iceshrimp.dev/crimekillz/iceshrimp-161sh.git
synced 2024-11-22 12:13:48 +01:00
Merge pull request 'fix: another bug in KaTeX macro expander' (#9795) from naskya/calckey:fix/katex-macro-2 into develop
Reviewed-on: https://codeberg.org/calckey/calckey/pulls/9795
This commit is contained in:
commit
e583bd9665
@ -264,6 +264,8 @@ function expandKaTeXMacroOnce(
|
||||
}
|
||||
}
|
||||
|
||||
if (!macros.hasOwnProperty(macroName)) return [fallback, false];
|
||||
|
||||
const numArgs: number = macros[macroName].args;
|
||||
const openBracket: string = macroName.slice(-1);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user