mirror of
https://github.com/docmost/docmost.git
synced 2025-11-12 19:22:39 +10:00
fix: table header in exported markdown (#769)
This commit is contained in:
@ -76,8 +76,9 @@ export class ExportService {
|
||||
</html>`;
|
||||
}
|
||||
|
||||
if (format === ExportFormat.Markdown) {
|
||||
return turndown(pageHtml);
|
||||
if (format === ExportFormat.Markdown) {
|
||||
const newPageHtml = pageHtml.replace(/<colgroup[^>]*>[\s\S]*?<\/colgroup>/gmi, '');
|
||||
return turndown(newPageHtml);
|
||||
}
|
||||
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user