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>`;
|
</html>`;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (format === ExportFormat.Markdown) {
|
if (format === ExportFormat.Markdown) {
|
||||||
return turndown(pageHtml);
|
const newPageHtml = pageHtml.replace(/<colgroup[^>]*>[\s\S]*?<\/colgroup>/gmi, '');
|
||||||
|
return turndown(newPageHtml);
|
||||||
}
|
}
|
||||||
|
|
||||||
return;
|
return;
|
||||||
|
|||||||
Reference in New Issue
Block a user