diff --git a/src/components/article-creator/Renderer.tsx b/src/components/article-creator/Renderer.tsx
index 2ee8d3f0..62e2a036 100644
--- a/src/components/article-creator/Renderer.tsx
+++ b/src/components/article-creator/Renderer.tsx
@@ -134,14 +134,14 @@ const customParsers: Record<
const rows = content.map((row, index) => {
if (withHeadings && index === 0) {
return `
${row.reduce(
- (acc, cell) => acc + `| ${cell} | `,
+ (acc, cell) => acc + `${parseLatex(cell)} | `,
"",
)}
`;
}
// For other rows, use tags
return ` | ${row.reduce(
- (acc, cell) => acc + `| ${cell} | `,
+ (acc, cell) => acc + `${parseLatex(cell)} | `,
"",
)}
`;
});
diff --git a/src/components/article-creator/editorjs-render.ts b/src/components/article-creator/editorjs-render.ts
index 6a1d772d..d0cfb29c 100644
--- a/src/components/article-creator/editorjs-render.ts
+++ b/src/components/article-creator/editorjs-render.ts
@@ -134,14 +134,14 @@ const customParsers: Record<
const rows = content.map((row, index) => {
if (withHeadings && index === 0) {
return `${row.reduce(
- (acc, cell) => acc + `| ${cell} | `,
+ (acc, cell) => acc + `${parseLatex(cell)} | `,
"",
)}
`;
}
// For other rows, use tags
return ` | ${row.reduce(
- (acc, cell) => acc + `| ${cell} | `,
+ (acc, cell) => acc + `${parseLatex(cell)} | `,
"",
)}
`;
});