diff --git a/quartz/plugins/pageTypes/dispatcher.ts b/quartz/plugins/pageTypes/dispatcher.ts index 9a8bff9c7..aa853af7f 100644 --- a/quartz/plugins/pageTypes/dispatcher.ts +++ b/quartz/plugins/pageTypes/dispatcher.ts @@ -134,7 +134,6 @@ function populateVirtualPageHtmlAst( try { const htmlString = render(BodyComponent(componentData)) const htmlAst = fromHtml(htmlString, { fragment: true }) as HtmlRoot - ve.tree.children = htmlAst.children ve.vfile.data.htmlAst = htmlAst } catch { // Body rendering failed — leave htmlAst empty so transclusion falls