fix: table header in exported markdown (#769)
This commit is contained in:
parent
6776e073b6
commit
dd52eb15ca
1 changed files with 3 additions and 2 deletions
|
|
@ -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…
Add table
Reference in a new issue