diff --git a/package.json b/package.json index 28148b54..95f6dc66 100644 --- a/package.json +++ b/package.json @@ -44,7 +44,7 @@ } }, "dependencies": { - "@revoltchat/rehype-katex": "^6.0.3", + "@revoltchat/rehype-katex": "6.0.3-patch.1", "fs-extra": "^10.0.0", "klaw": "^3.0.0", "lottie-react": "^2.4.0", diff --git a/src/components/markdown/RemarkRenderer.tsx b/src/components/markdown/RemarkRenderer.tsx index 45a02dcd..4ebe41d6 100644 --- a/src/components/markdown/RemarkRenderer.tsx +++ b/src/components/markdown/RemarkRenderer.tsx @@ -148,7 +148,7 @@ const render = unified() .use(rehypeKatex, { maxSize: 10, maxExpand: 0, - maxLength: 128, + maxLength: 512, trust: false, strict: false, output: "html", diff --git a/src/controllers/modals/components/ModifyAccount.tsx b/src/controllers/modals/components/ModifyAccount.tsx index 44a68c22..65bc3e69 100644 --- a/src/controllers/modals/components/ModifyAccount.tsx +++ b/src/controllers/modals/components/ModifyAccount.tsx @@ -174,8 +174,8 @@ export default function ModifyAccount({
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.
)} diff --git a/yarn.lock b/yarn.lock index 996dcbc5..185600d8 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2299,17 +2299,17 @@ __metadata: languageName: node linkType: hard -"@revoltchat/rehype-katex@npm:^6.0.3": - version: 6.0.3 - resolution: "@revoltchat/rehype-katex@npm:6.0.3" +"@revoltchat/rehype-katex@npm:6.0.3-patch.1": + version: 6.0.3-patch.1 + resolution: "@revoltchat/rehype-katex@npm:6.0.3-patch.1" dependencies: "@types/hast": ^2.0.0 "@types/katex": ^0.14.0 hast-util-from-html-isomorphic: ^1.0.0 hast-util-to-text: ^3.1.0 - katex: ^0.16.0 + katex: ^0.16.7 unist-util-visit: ^4.0.0 - checksum: b655a6f5ddaf107ef030aa0ba8bf5eef745e44316a5cb44aa137ea5e2e3f6c7b68470ff6645d224f5cd47982d729a6726e2a595201c51fdb44e2dbc9acd2b8e2 + checksum: 1b7e57ddafa300e96396a5f5d64dad947c201b514562b1d581ac1a683252bc074fcb620fb271c136dd8b84c069dad23cd98ef0b01585be426bb2ce3f5dde004f languageName: node linkType: hard @@ -3709,7 +3709,7 @@ __metadata: "@hcaptcha/react-hcaptcha": ^1.4.4 "@insertish/vite-plugin-babel-macros": ^1.0.5 "@preact/preset-vite": ^2.0.0 - "@revoltchat/rehype-katex": ^6.0.3 + "@revoltchat/rehype-katex": 6.0.3-patch.1 "@revoltchat/ui": ^1.0.77 "@rollup/plugin-replace": ^2.4.2 "@styled-icons/boxicons-logos": ^10.38.0 @@ -6069,7 +6069,7 @@ __metadata: languageName: node linkType: hard -"katex@npm:^0.16.0": +"katex@npm:^0.16.7": version: 0.16.7 resolution: "katex@npm:0.16.7" dependencies: