mirror of
https://github.com/go-gitea/gitea.git
synced 2026-10-07 03:28:52 +02:00
fix(markup): raise KaTeX MAX_CHARS limit to 10000 (#39387)
This commit is contained in:
1 parent
7637b1b816
commit
8164130349
1 file changed
+1
-1
@@ -21,7 +21,7 @@ export async function initMarkupCodeMath(elMarkup: HTMLElement): Promise<void> {
|
||||
import('katex/dist/katex.css'),
|
||||
]);
|
||||
|
||||
const MAX_CHARS = 1000;
|
||||
const MAX_CHARS = 10000;
|
||||
const MAX_SIZE = 25;
|
||||
const MAX_EXPAND = 1000;
|
||||
|
||||
|
||||
Reference in new issue
Block a user