diff --git a/apps/server/src/integrations/export/export.service.ts b/apps/server/src/integrations/export/export.service.ts index 22237ff6..9cf33234 100644 --- a/apps/server/src/integrations/export/export.service.ts +++ b/apps/server/src/integrations/export/export.service.ts @@ -76,8 +76,9 @@ export class ExportService { `; } - if (format === ExportFormat.Markdown) { - return turndown(pageHtml); + if (format === ExportFormat.Markdown) { + const newPageHtml = pageHtml.replace(/]*>[\s\S]*?<\/colgroup>/gmi, ''); + return turndown(newPageHtml); } return;