feat: raise katex limit to 512, upgrade dependencies

This commit is contained in:
Paul Makles
2023-06-18 10:22:01 +02:00
parent 9c658fbdad
commit a91f274b34
4 changed files with 11 additions and 11 deletions

View File

@@ -148,7 +148,7 @@ const render = unified()
.use(rehypeKatex, {
maxSize: 10,
maxExpand: 0,
maxLength: 128,
maxLength: 512,
trust: false,
strict: false,
output: "html",

View File

@@ -174,8 +174,8 @@ export default function ModifyAccount({
<div style={{ marginTop: "8px" }}>
<Tip palette="warning">
Changing your username may change your number tag.
You can freely change the case of your username. You
may change your number tag up to once a day.
You can freely change the case of your username.
Your number tag may change at most once a day.
</Tip>
</div>
)}