fix(export/share): note children preview links not working

This commit is contained in:
Elian Doran
2025-06-23 19:00:20 +03:00
parent 0efdf65202
commit 8523050ab2
6 changed files with 14 additions and 8 deletions

View File

@@ -62,7 +62,11 @@ export default class HtmlExportProvider extends ZipExportProvider {
</html>`;
}
return content.length < 100_000 ? html.prettyPrint(content, { indent_size: 2 }) : content;
if (content.length < 100_000) {
content = html.prettyPrint(content, { indent_size: 2 })
}
content = this.rewriteFn(content as string, noteMeta);
return content;
} else {
return content;
}