mirror of
https://github.com/docmost/docmost
synced 2025-03-28 21:13:28 +00:00
fix: table header in exported markdown (#769)
This commit is contained in:
parent
6776e073b6
commit
dd52eb15ca
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user