fix: table header in exported markdown (#769)

This commit is contained in:
fuscodev
2025-03-07 13:16:49 +01:00
committed by GitHub
parent 6776e073b6
commit dd52eb15ca

View File

@ -77,7 +77,8 @@ export class ExportService {
}
if (format === ExportFormat.Markdown) {
return turndown(pageHtml);
const newPageHtml = pageHtml.replace(/<colgroup[^>]*>[\s\S]*?<\/colgroup>/gmi, '');
return turndown(newPageHtml);
}
return;