diff --git a/src/components/Latex/Latex.tsx b/src/components/Latex/Latex.tsx
index 454c6511..a62bc6fe 100644
--- a/src/components/Latex/Latex.tsx
+++ b/src/components/Latex/Latex.tsx
@@ -33,7 +33,7 @@ export const Latex: FC<{children: string}> = ({children}) => {
for (const m of matches) {
result.push(
- {children.slice(currentPosition, m.index)},
+ ,
,
)
@@ -42,7 +42,7 @@ export const Latex: FC<{children: string}> = ({children}) => {
}
}
- result.push({children.slice(Math.max(0, currentPosition))})
+ result.push()
return (
// nas globalny CSS reset nastavuje SVGcka na display:block, tak to tu resetneme nazad na inline