mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2025-03-04 07:18:50 -07:00
Merge pull request 'fix: a bug in the KaTeX macro expander' (#9785) from naskya/calckey:fix/katex-macro into develop
Reviewed-on: https://codeberg.org/calckey/calckey/pulls/9785
This commit is contained in:
commit
4e4710c344
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue