mirror of
https://github.com/docmost/docmost.git
synced 2025-11-14 07:01:15 +10:00
fix: table header in exported markdown (#769)
This commit is contained in:
@ -77,7 +77,8 @@ export class ExportService {
|
|||||||
}
|
}
|
||||||
|
|
||||||
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