math_render_bug

This commit is contained in:
ganeshAviz 2026-01-31 17:47:53 +05:30
parent 97ba15450f
commit e2e0da9b77
1 changed files with 1 additions and 1 deletions

View File

@ -50,7 +50,7 @@ const MemoContent = (props: MemoContentProps) => {
>
<ReactMarkdown
remarkPlugins={[remarkDisableSetext, remarkMath, remarkGfm, remarkBreaks, remarkTag, remarkPreserveType]}
rehypePlugins={[rehypeRaw, rehypeKatex, [rehypeSanitize, SANITIZE_SCHEMA]]}
rehypePlugins={[rehypeRaw, [rehypeSanitize, SANITIZE_SCHEMA], rehypeKatex]}
components={{
// Child components consume from MemoViewContext directly
input: ((inputProps: React.ComponentProps<"input"> & { node?: Element }) => {